File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes [SCJP] Generics questions form SCJP 5 study Guide Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "[SCJP] Generics questions form SCJP 5 study Guide" Watch "[SCJP] Generics questions form SCJP 5 study Guide" New topic
Author

[SCJP] Generics questions form SCJP 5 study Guide

Haithem Jarraya
Greenhorn

Joined: Aug 01, 2007
Posts: 4
Hi,
I am reading the SCJP Study Guide by "Kathyy Sierra" and "Bert Bates", in the Generics chapter there is this question that I tried to comiple it but I am having compiler error.
here is the questions:


answers


ok now here what I put In my code to check if its working or not


here is the compile error:


Could you please help me to understand where is the error exactly?
There is something wrong with my example or the book is wrong?
Many Thanks,

Haithem
Haithem Jarraya
Greenhorn

Joined: Aug 01, 2007
Posts: 4
I am sorry,
It was a mistake in the book:


Thanks for your many responses
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [SCJP] Generics questions form SCJP 5 study Guide
 
Similar Threads
K & B Generics Quiz question.
wildcards in generics
Generics Question
Generics
Doubt in Generics