MCQs
Total Questions : 105
| Page 10 of 11 pages
Answer: Option A. -> clone()
None.
Answer: Option B. -> HashMap
AbstractMap, WeakHashMap, HashMap and TreeMap provide implementation of map
interface.
Answer: Option B. -> HashSet
HashSet and TreeSet implements Set interface where as LinkedList and ArrayList
implements List interface.
Answer: Option D. -> All of the mentioned
Stack, Hashtable, Vector, Properties and Dictionary are legacy classes.
Answer: Option A. -> put()
None.
Answer: Option D. -> clear()
None.
Answer: Option B. -> LinkedList
None.
Answer: Option C. -> ArrayList
ArrayList class implements a dynamic array by extending AbstractList class.
Answer: Option D. -> Object
The object class class is superclass of all other classes.Object