cool hit counter
Cafe4Java
Cafe4Java
 

SCJP Mock Exam Answers
A1)
Answer : D (TreeMap)
Explanation :
Option D is correct. Both HashMap and TreeMap enable storing a 'key' and a 'value' combination, where the values and keys can be objects, and the objects are searchable on their keys. However, only TreeMap maintains the natural order of the keys.


<<<< Return to Q1 <<<<<         >>>> Go to Q2 >>>>

Submit your feedback on this mock exam