Programming - Collection Of Frameworks
You Are Here :: Home > JAVA > Collection Of Frameworks - General Questions
7. |
_________________ extends Iterator, and allows bidirectional traversal of list and also allows the modification of elements.
|
A. |
Iterator |
B.
|
ListIterator |
C.
|
Wrapper Classes
|
D.
|
Abstract Classes
|
|
Answer: Option B
Explanation:
ListIterator : extends Iterator, and allows bidirectional traversal of list and also allows the modification of elements. |
|
8. |
__________________ is Interface which is part of Java collections framework.
|
A. |
ListIterator |
B.
|
Map |
C.
|
Framework
|
D.
|
Collections
|
|
Answer: Option B
Explanation:
Map is Interface which is part of Java collections framework. |
|
9. |
______________________ is class that implements that using hashing technique.
|
A. |
Hashtable |
B.
|
HashMap |
C.
|
Both A and B
|
D.
|
None of these
|
|
Answer: Option A
Explanation:
Hashmap is class that implements that using hashing technique. |
|
10. |
________________________ provide key-value access to data.
|
A. |
Hashtable |
B.
|
HashMap |
C.
|
Both A and B
|
D.
|
None of these
|
|
Answer: Option C
Explanation:
Both Hashtable & HashMap provide key-value access to data. |
|
11. |
The ________________________ is one of the original collection classes in Java
|
A. |
Hashtable |
B.
|
HashMap |
C.
|
Both A and B
|
D.
|
None of these
|
|
Answer: Option A
Explanation:
The Hashtable is one of the original collection classes in Java |
|
12. |
___________________ is part of the new Collections Framework
|
A. |
Hashtable |
B.
|
HashMap |
C.
|
Both A and B
|
D.
|
None of these
|
|
Answer: Option B
Explanation:
HashMap is part of the new Collections Framework |
|
« prev
next »