Is collection a class or interface?



Is collection a class or interface?..

Answer / Rajan Malhotra

The Collection is both an interface and a superclass in Java. The interface defines a common set of methods for collections, while the class serves as a root class for all collection classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Define the term “percolate down”?

1 Answers  


Can we sort hashmap?

1 Answers  


What are the major data structures used in the following areas : network data model & hierarchical data model?

1 Answers  


Differentiate between hashset and hashmap.

1 Answers  


What is scalar data type?

1 Answers  


How to get largest and smallest number in an array?

1 Answers  


How many sorting are there in data structure?

1 Answers  


how to insert a new node in linked list where free node will be available?

1 Answers  


Tell me about circular linked list?

1 Answers  


What is pointer in data structure?

1 Answers  


How many types of linked list exist?

1 Answers  


How do you declare An array of three char pointers

1 Answers  


Categories