Programming - Collection Of Frameworks
You Are Here :: Home > JAVA > Collection Of Frameworks - General Questions
19. |
_________________________ is relevant from the context of iterators.
|
A. |
Fail-Fast |
B.
|
fail |
C.
|
fast
|
D.
|
None of these
|
|
Answer: Option A
Explanation:
Fail-fast is relevant from the context of iterators. |
|
20. |
________________________ classes are implemented using dynamically resizable arrays
|
A. |
Vector |
B.
|
ArrayList |
C.
|
Both A and B
|
D.
|
None of these
|
|
Answer: Option C
Explanation:
Vector & ArrayList both classes are implemented using dynamically resizable arrays |
|
21. |
______________________ classes both implement the List interface.
|
A. |
Vector |
B.
|
ArrayList |
C.
|
Both A and B
|
D.
|
None of these
|
|
Answer: Option C
Explanation:
ArrayList and Vector class both implement the List interface. |
|
22. |
___________________ has no default size while vector has a default size of 10.
|
A. |
Vector |
B.
|
ArrayList |
C.
|
Both A and B
|
D.
|
None of these
|
|
Answer: Option B
Explanation:
ArrayList has no default size while vector has a default size of 10. |
|
23. |
Enumeration and Iterator are the interface available in ______________ package.
|
A. |
java.io |
B.
|
java.util |
C.
|
java.sql
|
D.
|
java.lang
|
|
Answer: Option B
Explanation:
Enumeration and Iterator are the interface available in java.util package. |
|
24. |
The functionality of ____________________ interface is duplicated by the Iterator interface.
|
A. |
Enumeration |
B.
|
Iterator |
C.
|
Vector
|
D.
|
ArrayList
|
|
Answer: Option A
Explanation:
The functionality of Enumeration interface is duplicated by the Iterator interface. |
|
« prev
next »