Limitation of Collection in java
Collection have following limitations
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. Reply
The class and interface of collection
-- HashSet (c)
-- TreeSet (c)
-- ArrayList (c)
-- LinkedList (c)
-- HashMap (c)
-- TreeMap (c)Reply
Types of Collection in Java
Array - Most efficient way to hold references to objects.
Iterators - Select each element in a collection as Iterator (i).
Collections(also called containers) - collection is a group of data manipulate as a single object.Reply
what is collection in java?
Collections is a framework that provides an architecture to store and manipulate the group of objects.
Java Collection is a single unit of objects. Java Collection framework provides many interfaces (Set, List, Queue, Deque etc.) and classes (ArrayList, Vector, LinkedList, PriorityQueue, HashSet, LinkedHashSet, TreeSet etc).Reply
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.
For more visits :
Replied By: Name: Shashi Verma