Programming - Collection Of Frameworks
You Are Here :: Home > JAVA > Collection Of Frameworks - General Questions
55.
The ___________________ describes an element (a key/value pair) in a map. This is an inner class of Map
A.
Map.sql
B.
Map.Xml
C.
Map.Exit
D.
Map.Entry
Answer: Option D
Explanation:
The Map.Entry describes an element (a key/value pair) in a map. This is an inner class of Map
56.
The______________________ extends Map so that the keys are maintained in ascending order
A.
SortedMap
B.
LinkedMap
C.
UnsortedMap
D.
Enumeration
Answer: Option A
Explanation:
The SortedMap extends Map so that the keys are maintained in ascending order
57.
The _____________________ is legacy interface and defines the methods by which you can enumerate (obtain one at a time) the elements in a collection of objects
A.
SortedMap
B.
LinkedMap
C.
UnsortedMap
D.
Enumeration
Answer: Option D
Explanation:
The Enumeration is legacy interface and defines the methods by which you can enumerate (obtain one at a time) the elements in a collection of objects
58.
_____________________ Implements a linked list by extending AbstractSequentialList
A.
LinkedList
B.
ArrayList
C.
Both A and B
D.
None of these
Answer: Option A
Explanation:
LinkedList Implements a linked list by extending AbstractSequentialList
59.
______________ Implements a dynamic array by extending AbstractList
A.
LinkedList
B.
ArrayList
C.
Both A and B
D.
None of these
Answer: Option B
Explanation:
ArrayList Implements a dynamic array by extending AbstractList
« prev