Java Collection framework and benefits

Explain the Java Collection framework? What are the benefits of the Java collection framework?

A collection is a set of heterogeneous objects. A framework makes the applications efficient, less hard coded, similar implementation for various objects. Utilize collection framework where performance is the criteria and simplicity is the need.

One more advantage of collection framework is that, a group of objects ,without order or type of restrictions can be represented through a single object. A collections framework is a unified architecture for representing and manipulating collections.

The Java Collections Framework provides the following benefits:

- Reduces programming effort
- Increases program speed and quality
- Allows interoperability among unrelated APIs
- Reduces effort to learn and to use new APIs
- Reduces effort to design new APIs
- Fosters software reuse
Difference between shallow cloning and deep cloning of objects in Java
Shallow cloning just allows cloning the object but not their internal parts.....
What is the difference between final, finally and finalize() in Java?
Final, finally and finalize() in Java - final – a key word / access modifier to define constants......
What is type casting? Explain up casting vs down casting?
The conversion of a given expression from one type to another type is referred as 'type casting'...
Post your comment