1.

What Is Java Collections Framework? What Are The Benefits Of Using Collections Framework?

Answer»

JAVA Collections Framework provides a standard way to handle a group of objects. Benefits of the Collections Framework are -

  • High performance, implementation of the Collection classes (ArrayList, LinkedList, HASHSET etc.) are very EFFICIENT and used as-is in most of the cases.
  • Reduced effort as framework already provides several implementations for most of the scenarios that can be used as-is.
  • Provides INTEROPERABILITY, as exp. if you are using List interface any implementation that implements List interface can be swapped with the EXISTING one.
  • If you want to extend any collection that can be easily done using the standard interfaces provided with in the Collections frameworks.

Java Collections Framework provides a standard way to handle a group of objects. Benefits of the Collections Framework are -



Discussion

No Comment Found