• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

scjp generics

 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
arch rival
Posts: 2813
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Always look on the bright side of life. At least this ad is really tiny:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic