top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Java Collections Framework? Please provide list of benefits of Collections framework?

+1 vote
114 views
What is Java Collections Framework? Please provide list of benefits of Collections framework?
posted Jun 9, 2015 by Karthick.c

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Collections are used in every programming language and initial java release contained few classes for collections: Vector, Stack, Hashtable, Array. But looking at the larger scope and usage, Java 1.2 came up with Collections Framework that group all the collections interfaces, implementations and algorithms.
Java Collections have come through a long way with usage of Generics and Concurrent Collection classes for thread-safe operations. It also includes blocking interfaces and their implementations in java concurrent package.

Some of the benefits of collections framework are:-

  1. Reduced development effort by using core collection classes rather
    than implementing our own collection classes.
  2. Code quality is enhanced with the use of well tested collections
    framework classes.
  3. Reduced effort for code maintenance by using collection classes
    shipped with JDK.
  4. Reusability and Interoperability
answer Aug 11, 2017 by Sandeep Jain
...