• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scjp generics

 
jeroen dijkmeijer
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the requirement for scjp 1.5? I just received a copy from Mr Heller, an not extensive preview on a new chapter of java certification. Which was not too difficult to understand. On the other hand I also collected a pdf from the web from mr Gilad Bracha "Generics in the Java Programming Language" covering every aspect in Generics including wild cards, bounded wild cards, generic Methods and lower bound wildcards. Are al those things in the Sun objectives? Or do we only need to know that casting is not necessary for generic collections?
cheers Jeroen.
 
Wensheng Li
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Do we only need to know that casting is not necessary for generic collections?"

Well,my impression is that you need to know more than that if you want to score high in this section. Read that tutorial very carefully and run the examples by yourself.
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to know more than just the type safety advantage of Generic types. I recommend you make a close reading of all the exam objectives. One of the Generics related objectives that indicates some of the areas you kneed to know about is as follows.

"Develop code that makes proper use of type parameters in class/interface declarations, instance variables, method arguments, and return types; and write generic methods or methods that make use of wildcard types and understand the similarities and differences between these two approaches."

Taken from
http://www.sun.com/training/catalog/courses/CX-310-055.xml

So you will need to know what the benefit of wildcard type is, probably what the limitations are and possibly how to use a wildcard with bounds.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic