Win a copy of Functional Design and Architecture this week in the Functional programming forum!
  • 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
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Advice needed onCollections(need to remember every method

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I find lot of methods in the collections, Date which I am finding it difficult remember the signatures and return type of the methods . I went through some of the mock exams I didn't find much questions on this package.Kindly let me know if I have to remember each and every method in the java.util.package.
Please advice me if I have to know all methods in th java.util package for the certfication exam.
Regards
Ananth
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hiya,
I think it is very important to remember the interfaces, abstract classes and concrete classes of the Collection utilities. You should also know which type of collection you will require depending on whether you need to store data uniquely, duplicated-doesn't-matter etc...
Therefore, you need to understand about Lists, Sets, Maps, SortedSets, SortedMaps. Their abstract classes (AbstractMap, AbstractSet etc....) and some concrete implementations (LinkedList, ArrayList, TreeMap, TreeSet....etc...)
Most of this classes share the same method names (add, remove, etc..)
Take a look at the Java Tutorial online at this URL:-
http://java.sun.com/docs/books/tutorial/collections/intro/index.html
David
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ananth,
Your login name(anakrip) does not comply with the JavaRanch naming policy. Please choose one that meets the requirements.
Javaranch appreciates your cooperation to comply with the official naming policy.
Ajith
 
anakrip
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi David,
Thank you very much for the suggestions you have given to me.
The classes and methods you have mentioned as you told are easy to remember. I am referring to Java 2 Complete reference by Schidt. There I found 16th chapter(java.util) which contains various Date classes and their formats.
I have seen the Tutorial you have mentioned. Again thank you very much.
Ananth
 
reply
    Bookmark Topic Watch Topic
  • New Topic