Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Explain Which of these is a Basic interface that all other interface inherits?
Home
Education
Explain Which of these is a Basic interface that...
asked
Mar 1, 2022
in
Education
by
JackTerrance
Which of these is a Basic interface that all other interface inherits? (a) Set (b) Array (c) List (d) Collection The question was asked in an interview for job. My question is based upon Collections Interface in section java.util – The Collections Framework of Java Select the correct answer from above options
java
util
1
Answer
0
votes
answered
Mar 1, 2022
by
JackTerrance
Best answer
The correct option is (d) Collection For explanation I would say: Collection interface is inherited by all other interfaces like Set, Array, Map etc. It defines core methods that all the collections like set, map, arrays etc will have
Related questions
0
votes
Q: Explain Which of these interface declares core method that all collections will have?
Which of these interface declares core method that all collections will have? (a) set (b) EventListner (c) ... Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Which of these is a Basic interface that all other interface inherits?
Which of these is a Basic interface that all other interface inherits? (a) Set (b) Array (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Oct 25, 2021
in
Education
by
JackTerrance
essential-javascript-interview-questions
javascript-interview-questions
javascript-interview-questions-and-answers
javascript-questions-for-practice
java-script-mcq-quiz
javascript-quiz-
javascript-multiple-choice-questions
javascript-mcq-with-answers
0
votes
Q: Explain Which of these classes implements Set interface?
Which of these classes implements Set interface? (a) ArrayList (b) HashSet (c) LinkedList (d) DynamicList I ... Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these classes provide implementation of map interface?
Which of these classes provide implementation of map interface? (a) ArrayList (b) HashMap (c) LinkedList (d) ... Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these is the interface of legacy?
Which of these is the interface of legacy? (a) Map (b) Enumeration (c) HashMap (d) Hashtable I had ... Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these is the interface of legacy is implemented by Hashtable and Dictionary classes?
Which of these is the interface of legacy is implemented by Hashtable and Dictionary classes? (a) Map (b) ... Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these interface handle sequences?
Which of these interface handle sequences? (a) Set (b) List (c) Comparator (d) Collection The question ... Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these method is used to remove all keys/values pair from the invoking map?
Which of these method is used to remove all keys/values pair from the invoking map? (a) delete() (b) ... Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these methods can be used to obtain set of all keys in a map?
Which of these methods can be used to obtain set of all keys in a map? (a) getAll() (b) getKeys( ... The Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these packages contain all the collection classes?
Which of these packages contain all the collection classes? (a) java.lang (b) java.util (c) java.net ... Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these methods deletes all the elements from invoking collection?
Which of these methods deletes all the elements from invoking collection? (a) clear() (b) reset() (c) ... Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these standard collection classes implements all the standard functions on list data structure?
Which of these standard collection classes implements all the standard functions on list data structure? (a) Array ... of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of these methods can randomize all elements in a list?
Which of these methods can randomize all elements in a list? (a) rand() (b) randomize() (c) shuffle( ... Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of the below is not an implementation of List interface?
Which of the below is not an implementation of List interface? (a) RoleUnresolvedList (b) Stack (c) AttibuteList ... Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Explain Which of this interface is not a part of Java’s collection framework?
Which of this interface is not a part of Java's collection framework? (a) List (b) Set (c) SortedMap ... Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
...