Asked by

shivani gulgule
on Dec 03, 2024

verifed

Verified

If you want a class that implements the List interface and do not need any methods beyond those in the List interface,you can use the ____________ class.

A) Vector< T >
B) LinkedList< T >
C) HashSet< T >
D) TreeSet< T >

List Interface

An interface in Java's Collection Framework that allows for ordered collection of elements, including duplicates.

Vector< T >

A dynamic array that can grow or shrink in size and is part of the Java Collection Framework.

  • Comprehend and differentiate the array of Java Collection interfaces and classes, including List, Set, Map, Vector, LinkedList, HashSet, TreeSet, and their deployment scenarios.
verifed

Verified Answer

LS
Lanie SmithDec 10, 2024
Final Answer:
Get Full Answer