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 / abdul

Array list size will increase dynamically.By default we can
store 16 objects.If number of objects increases the
arraylist size increase dynamically as below.
(2*Prevous size+2)
For ex: (2*16+2)=34 next time
(2*34+2)= 70

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the public method modifier?

953


what is use of functional interface in java 8?

977


What are different types of classloaders?

980


Explain about join() method?

903


What are the drawbacks for singleton class?

945


Can you inherit from an abstract class java?

939


Explain when we should make an instance variable private.

1044


What is the maximum size of array in java?

927


Why hashset is used in java?

1003


Is string is a data type?

906


What are the java ide’s?

984


Write a program to check for a prime number in java?

993


Is zero a natural number?

976


Can we write multiple catch blocks under single try block?

1037


How does map works in java?

943