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...

What is the difference between array and arraylist?
what is the difference between arraylist and linkedlist?

Answer Posted / ram

array contain a similar data type and array size is fixed i.e
dynamically its size can't be changed.
but arraylist can store more then one data type and its size
can be changed dynamically.
one major difference is that,array used to store primitive
data type(i.e. int,char etc) while arraylist is used to
store objects.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we should use serialization?

1011


Which package is always imported by default?

1091


What is an iterator interface in java programming?

942


Can we catch more than one exception in a single catch block?

1068


Where is stringbuffer stored?

970


What is the exact difference in between Unicast and Multicast object? Where will it be used?

1045


What is string manipulation?

992


What is the default size of load factor in hashing based collection?

1038


What is string intern in java?

1011


What is jee6?

1088


What is reverse function?

1115


Is null a string?

986


What is the difference between menuitem and checkboxmenu item?

1327


Which variable is the independent variable?

972


What happens if an exception is throws from an object's destructor?

1031