This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
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 Groovy Fundamentals video training course this week in the Groovy 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: [SCJP] Generics questions form SCJP 5 study Guide