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

What is an example of a constant variable?

1003


How do you check if a number is a perfect square?

934


Is empty in java?

991


Do you know why doesn't the java library use a randomized version of quicksort?

903


Can a class extend 2 classes in java?

976


what is static import in java? Explain

960


What are the two environment variables that must be set in order to run any java programs?

904


What is meant by attribute?

1027


What is flag in java?

923


What is a singleton puppy?

919


what is meant by abstract class?

1059


What is rule of accessibility in java?

961


what is the difference between process and thread? : Java thread

924


explain autoboxing in java?

934


What is static class

1048