R4R
Right Place For Right Person TM
 

R4R Java Advance Java Collection

R4R
provide basic Collections Tutorials concept with Collections Examples . Through R4R you can develop Collections programming concept. R4R provide Collections Interview Questions with answers.R4R provide Collections study materials in easy way.

Collections Tutorials

1.2    Collections Basic Tutorial

Collections Examples

2.1    Collections Basic Example

Collection

Collection.
 The class collection is consists exclusively of static methods that operate on or return collections. It contains polymorphic algorithms that operate on collections, "wrappers", which return a new collection backed by a specified collection, and a few other odds and ends.

Collection in Java:

  1. Arrays- Most efficient way to hold references to objects.

  2. Iterators- Select each element in a collection.
     

    •  Iterator (i)
       
  3. Collections (also called containers)- A collection is a group of data manipulate as a single object.
     

    • Collection (i)
    •  Set (i)
            -- HashSet (c)
            -- TreeSet (c)
       
    •  List (i)
            -- ArrayList (c)
            -- LinkedList (c)
       
    • Map (i)
           -- HashMap (c)
           -- TreeMap (c)

Limitation of Collection.
Collection have following limitation:-

  • Collection object and variable can't check at the compile time.
  • It is resizable, so utilize dynamically Allocated Memory.
  • Command collection must be used for collect a data.
  • Must cast to correct type( i.e. type casting).
  • Major limitation of collection, It user use JVM 1.4.2 version, than this JVM software might be crash during data collection.

 

New Updates

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R