

MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Java knowledge and support exam preparation. Choose a topic below to get started.
1. |
What is the name of a data member of class Vector which is used to store a number of elements in the vector? |
A. | length |
B. | elements |
C. | elementCount |
D. | capacity |
Answer» D. capacity | |
2. |
Which of these is the interface of legacy? |
A. | Map |
B. | Enumeration |
C. | HashMap |
D. | Hashtable |
Answer» C. HashMap | |