aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Collections / Generics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Collections / Generics" Watch "Collections / Generics" New topic
Author

Collections / Generics

Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hello,

I am preparing for upgrade SCJP 1.6 and I read sun course description but I am really confused what actually shall I study in this topic . Can you please help ?. thanks in advance .

GSS
Salil Vverma
Ranch Hand

Joined: Sep 06, 2009
Posts: 255

The following things needs to be covered in this topic -----

Collections / Generics

* Given a design scenario, determine which collection classes and/or interfaces should be used to properly implement that design, including the use of the Comparable interface.
* Write code that uses the generic versions of the Collections API, in particular, the Set, List, and Map interfaces and implementation classes. Recognize the limitations of the non-generic Collections API and how to refactor code to use the generic versions. Write code that uses the NavigableSet and NavigableMap interfaces.
* 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.
* Use capabilities in the java.util package to write code to manipulate a list by sorting, performing a binary search, or converting the list to an array. Use capabilities in the java.util package to write code to manipulate an array by sorting, performing a binary search, or converting the array to a list. Use the java.util.Comparator and java.lang.Comparable interfaces to affect the sorting of lists and arrays. Furthermore, recognize the effect of the "natural ordering" of primitive wrapper classes and java.lang.String on sorting.


You can get the details of other topics from the following link-

I hope , this solves your query


Regards
Salil Verma
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14347
    
  22

Have a look at our SCJP FAQ - you'll find answers there about how to prepare for SCJP, what good books there are, where you can find mock exams and more.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Collections / Generics