• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

What Level practicing is required for Collections?

 
Ranch Hand
Posts: 127
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We have lot of collections in java and most of them are in scope of OCP 7/8. What level of practicing is required with respect to all Collections?
Should I practice examples for each and every item mentioned below? please guide me...

ArrayList
LinkedList
Vector

HashSet
LinkedHashSet
TreeSet

HashMap
Hashtable
TreeMap
LinkedHashMap

PriorityQueue

CopyOnWriteArrayList
CopyOnWriteArraySet

ConcurrentHashMap
ConcurrentLinkedDeque
ConcurrentLinkedQueue
ConcurrentLinkedQueue
ConcurrentSkipListMap
ConcurrentSkipListSet

PriorityBlockingQueue
LinkedBlockingQueue
LinkedBlockingDeque
ArrayBlockingQueue
DelayQueue
LinkedTransferQueue
SynchronousQueue


I am preparing for OCPJP 8 and need guidance to find out what is the correct approach.

Thanks,
Raghu
 
Enthuware Software Support
Posts: 4646
50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to know about them all except Vector and Hashtable. The list may look overwhelming but there are only three main categories of Sets and Maps based on their performance profile - Hash based, Link based, and Tree based. From concurrent usage POV, you have regular and Concurrent versions.
If you understand why these different kind of implementations are required, it will be easy for you to answer question based on any Hash/Link/Tree based data structure.
 
Raghavendra Desoju
Ranch Hand
Posts: 127
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Paul for the guidance. Posted it again to seek more suggestions.
 
author
Posts: 23928
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raghavendra Desoju wrote:Thank you Paul for the guidance. Posted it again to seek more suggestions.



Please don't do that. Duplicate posts tend to waste people's time and effort.

Henry
 
Raghavendra Desoju
Ranch Hand
Posts: 127
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure Henry, will avoid posting duplicates. Just wanted to get more attention and suggestions on my question.
 
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic