answersLogoWhite

0

No. there is actually no such limit in any of the collections in java. The arraylist and vector are the most commonly used collections and they take thousands of objects. I have personally used them with atleast a 100,000 thousand objects.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are the requirements to download a java arraylist?

The requirements to download a java arraylist are a pc with java software installed. A java arraylist is used to store a group of elements in a specific order.


How you can store a class variables in array list?

An (non generic) arrayList in java can save any type of object (in this case your class variable) in this straightforward way: MyClass myClassVar = new MyClass(); ArrayList myArrayList = new ArrayList(); myArrayList.add(myClassVar);


What are advantages of an arraylist?

ArrayList Features In Java Index based – Elements can be randomly accessed using index . Arraylist Index start with ‘0’. Ordered – Elements maintain insertion ordered . Dynamic resizing – increase size dynamically when more elements needs to be added than it’ current size. Non synchronized – is not synchronized, by default.. Duplicates allowed – We can add duplicate elements . null value – Arraylist can store null values.


Is there a limit to the number of Pokemon you can store on Pokemon Ranch?

Up to 1000 Pokemon


What is an Arraylist used for?

An ArrayList is a data structure. It stores data in an array that can be dynamically resized. This data structure in Microsoft .NET Framework contains Methods that assist the programmer in accessing and storing data within the ArrayList. The following link explains the .NET ArrayList class. http://msdn2.microsoft.com/en-us/library/system.collections.arraylist(vs.80).aspx


Can a certain someone store unlimited number of photos to a usb flash drive until the data storage limit is reached?

Yes, it is possible to store unlimited amount of photos to a USB flash drive until the data storage limit is reached.


What is the age limit to rent a store space?

The age limit depends on where in the world you are trying to rent a store space.


Where is no limit scooters located?

No Limit Scooters currently doesn't have a physical store and only ships from their online store which is located in southern California.


Where does the JVM store objects?

heap


Difference between list and set in java?

A List is an ordered collection of elements. A Set is a collection of unique elements. Sets should be used when you want to store objects without duplicates. Lists should be used any time you need to store an unknown number of objects.


How many apps can the iPhone 5 hold?

There is no limit of apps in iOS. There is also no fixed number you can store on your phone because the size of the apps vary.


How do store owners use math?

To price the objects in there store and to give the people the right cash back. To price the objects in there store and to give the people the right cash back.