Two Laptop Bag*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Finding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Finding "Collections and Generics" chapter difficult to grasp in scjp 6 study guide.." Watch "Finding "Collections and Generics" chapter difficult to grasp in scjp 6 study guide.." New topic
Author

Finding "Collections and Generics" chapter difficult to grasp in scjp 6 study guide..

achuthan mukundarajan
Ranch Hand

Joined: May 30, 2012
Posts: 60
I am finding collections and generics topic hard to follow from reading SCJP 6 guide in kathy sierra guide. Can anyone suggest a basic book for this topic?...(I have head first java but that too is not so good as to clear the basics).
Pawel Pawlowicz
Ranch Hand

Joined: Apr 18, 2013
Posts: 590
    
  11

Well, I didn't find it hard to read. Maybe you have a specific question about something that confuses you and I might help ;) ?
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 592
In terms of generics, for the purpose of the exam, ask yourself if you understand these:
1 .ArrayList<String> , ArrayList<?> alist = new ArrayList<String> , ArrayList<? extends Number> numbers = new ArrayList<Integer> , ArrayList<? super Integer> numbers = new ArrayList< Object>,
2. If you have ArrayList<? extends Number> alist = ..., can you do this alist.add(...) ? No.
3. If you have ArrayList<? super Integer> alist = ... , can you do this alist.add(new Integer(10)) ? Yes. How about alist.add(new Object())? No.

Make sure you understand the basics of how generics are applied to collections.
For any questions, let us know.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding "Collections and Generics" chapter difficult to grasp in scjp 6 study guide..
 
Similar Threads
Which section is difficult in SCJP syllabus?
Failed in SCJP 5.0
scjp
SCJP or not ?
scjp 1.6