What is the Collection interface?

What is the Collection interface?

A collection represents a group of objects, known as its elements. It is an interface and is a member of the Java Collections Framework.

Examples of Collection are:

- Set
- List
- Map
- SortedSet
- SortedMap
- HashSet
- TreeSet
- ArrayList
- LinkedList
- Vector
- Collections
- Arrays
- AbstractCollection
What is the Locale class?
What is the Locale class? - A Locale object represents a specific geographical, political, or cultural region...
What are primitive types in java?
byte, short, int, long, float, double, char, String, boolean...
Difference between a Vector and an Array. Advantages and disadvantages of both
Vector is a growable and shrinkable where as Array is not...
Post your comment