OOPS
August 29, 2024OOPS
August 29, 2024OOPS
|
Question 106
|
Which of these classes is not part of Java’s collection framework?
|
Map
|
|
|
Array
|
|
|
Arraylist
|
|
|
Vector
|
Question 106 Explanation:
The java.util.Map interface represents a mapping between a key and a value. The Map interface is not a subtype of the Collection interface. Therefore it behaves a bit different from the rest of the collection types.
Correct Answer: A
Question 106 Explanation:
The java.util.Map interface represents a mapping between a key and a value. The Map interface is not a subtype of the Collection interface. Therefore it behaves a bit different from the rest of the collection types.
