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

Difference between array and arraylist.

Answer Posted / mohit

1-array is used for value type. but array list is used for reference type.
2-array is used for fixed size but aaray list is dyanamically increase at run time.
3-you can't resize an array but you can do resize the array list.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In how many ways we can do exception handling in java?

991


Write a program to find the greatest of three numbers in java?

997


Explain the differences between static and dynamic variables?

1141


What are the types of literals?

1172


What does it mean to flush a file?

1059


What is the use of string and stringbuffer?

977


Which number is denoted by leading zero in java?

1237


What are parameters in a method?

1096


What data type is true or false?

1034


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

989


What is a method header?

1014


What do you mean by compiler?

1039


What is arraylist e in java?

1049


Why volatile is used in java?

1050


Can you inherit a constructor java?

1070