in Education by
Which of these interface declares core method that all collections will have? (a) set (b) EventListner (c) Comparator (d) Collection I got this question in an international level competition. I want to ask this question from Collections Interface in division java.util – The Collections Framework of Java Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Right answer is (d) Collection To explain I would say: Collection interfaces defines core methods that all the collections like set, map, arrays etc will have.

Related questions

0 votes
0 votes
0 votes
    Which of the following is not a core interface of Hibernate? (a) Configuration (b) Criteria (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    What will happen if we provide concrete implementation of method in interface? (a) The concrete class ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of these method wakes up all the threads? (a) wakeAll() (b) notify() (c) start() (d ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    All methods must be implemented of an interface. (a) True (b) False This question was addressed to ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of these interface handle sequences? (a) Set (b) List (c) Comparator (d) Collection The ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which of these access specifiers can be used for an interface? (a) Public (b) Protected (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of these keywords is used by a class to use an interface defined previously? (a) import (b) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of these package is used for graphical user interface? (a) java.applet (b) java.awt (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
0 votes
    Which of these method wakes up the first thread that called wait()? (a) wake() (b) notify() (c ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
...