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 are the types of arrays in java?

1090


What is a string token?

1049


Can we define private and protected modifiers for the members in interfaces?

1105


Is java 9 released?

1007


What is volatile data type?

1012


Can we override a variable in java?

1016


Can we have a try block without catch block?

986


What is t in generics in java?

1070


What is difference between adapter class and listener?

1044


Can we have any code between try and finally blocks?

1021


how does the run() method in runnable work? : Java thread

922


What is the difference between access specifiers and access modifiers in java?

1176


What are the different types of inner classes?

1038


Can we serialize arraylist in java?

1012


What if constructor is protected in java?

1124