File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Generics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Generics" Watch "Generics" New topic


sumi selva

Joined: Jul 10, 2007
Posts: 19
Hi All,

I'm currently preparing for scjp1.5
I have read the Generics section from K&B book and from few other sites.
But still i'm not very clear about the concepts in generics.I'm plannin to take the exam by july last it would be great if i get the notes highlighting the important concepts like usage of
1. < ? extends String>
2. < ? super String>
3. <?>
4. <String>
5. <T>
6. <T extends String> likewise
I have mentioned String class just for example. I just want to know the exact usages of these and how to use them and when to use them.

Thanks in advance,
Manfred Klug
Ranch Hand

Joined: Jun 04, 2007
Posts: 377
Hi sumi,

the Java Generics FAQ may be helpful.
It is sorta covered in the JavaRanch Style Guide.
subject: Generics