Which of these are interfaces in the collection framework. select the two correct answers.
a. set
b. list
c. array
d. vector
e. linkedlist?
Answers
Answered by
1
Hey mate here is your answer
OPTION B & D
PLEASE MARK ME AS
OPTION B & D
PLEASE MARK ME AS
Answered by
0
Option :
a. set
b. list
- these are interfaces in the collection framework
- The Java Collection Framework has numerous classes and interfaces (Set, List, Queue, and Deque) (ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet).
- The elements of a collection are a collection of objects. When maximum generality is desired, collections of objects are passed around via the Collection interface.
- Every general-purpose collection implementation, for instance, has a function Object() { [native code] } that accepts a Collection argument by convention.
- A list, which is a Java interface, describes an ordered group of things. A class called ArrayList specifies a list-based Java implementation of the List interface. The names of List variables are assigned to a fresh instance of the ArrayList class.
#SPJ3
Similar questions