Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Howmany number of objects we can store in an ArrayList. Is
there any limit?

Answer Posted / rahulmishra642

It depends on list implementation.Since ArrayList is backed by an arrays so its size is limited to Integer.MAX_VALUE
and it can't hold more than interger.MAX_VALUE.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between assignment and initialization?

993


How big is a 32 bit integer?

989


What are different types of classloaders?

977


How do you end a program?

1030


Explain importance of inheritance in java?

963


Can we declare the main method of our class as private?

947


Why string is immutable or final in java

1025


Why main() method is public, static and void in java ?

1028


What are the different types of methodologies?

942


Why hashset is used in java?

998


Which of the classes will have more memory allocated?

912


Why string is not thread safe?

960


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

980


Similarity and difference between static block and static method ?

870


Define a java class.

1330