wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
Generics Question
K & B Generics Quiz question.
Doubt in Generics
wildcards in generics
Generics