This post originated from an RSS feed registered with Java Buzz
by Ben Hosking.
Original Post: SCJP 5 - Collections / Generics Resources
Feed Title: A Funny Java Flavoured Look at the World
Feed URL: http://businesslogs.com/WebLog/RSS.xml
Feed Description: The blog looks at using Java and programming in general as it pops up in life as a Java programmer. It will have links to interesting Java articles and resources. It will also have a lot of SCJP Java 1.5 information and links as I am currently studying
I found this very good link to a Generics and Collections tutorial for people studying for their SCJP Java 5 exam. I think Generics and collections can be quite difficult due to the number of tricky facts you have to learn.
Generics in particular is quite difficult because it is quite different from the normal Java code and firstly puts in the odd looking angled brackets <> and then also uses extends to mean interfaces and classes. It also has a number of gotcha's regarding the type of classes that can be passed into a generic method/class. Generics can be quite restrictive which can create some very tricky exam questions, so all the extra information is welcome.