It's not a secret anymore!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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.
I agree. Here's the link:
subject: Generics
It's not a secret anymore!