What are collections?

Ads
 

What are collections?

what is Collections?

View Answers

May 31, 2012 at 11:54 AM

The Java Collections API's provide a set of classes and interfaces that makes it easier to handle collections of objects. In a sense Collection's works a bit like arrays, except their size can change dynamically, and they have more advanced behavior than arrays.

Rather than having to write your own collection classes, Java provides these ready-to-use collection classes. Most of the Java collections are located in the java.util package. Java also has a set of concurrent collections in the java.util.concurrent package.

Following thins comes under Collections API

    Overview of Interfaces
    Iterable
    Collection
    Generic Collections
    List
    Set
    SortedSet
    NavigableSet
    Map
    SortedMap
    NavigableMap
    Queue
    Deque
    Stack
    hashCode() and equals()
    Sorting

For more information, visit the following links:

http://www.roseindia.net/java/jdk6/

http://www.roseindia.net/javacodeexamples/index.shtml

http://www.devmanuals.com/tutorials/java/collections/

Ads









Related Tutorials/Questions & Answers:
collections2
what is bit
Advertisements
What is procedure
what is hibernate.archive.autodetection
What is JDBC?
What is FBT
What is ActionServlet?
What is Trigger?
What is VLR ?
What's PHP ?
What is an interface?
What is DML?
What is Index?
What is SQLLoader?
What is a "constraint"?
what is Savepoint ?
What is this keyword?
what is collections?
what are indices?
What is Hibernate
What is a transaction and what are ACID properties?
What is an Abstract Class and what is it's purpose?
What is Externalizable?
What is the % operator?
What is casting?
What is DataAccessException?
What is IOC ?
What is SQLExceptionTranslator?
What are Struts?
What is WAP?
What is SPOOL?

Ads