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

Array:array is the one which can save similar data typed
elements.
And the size is limited.

Arraylist:it is also a type of array in which we can extend
size
dynamically.
syntax:
ArrayList ar=new ArrayList();
where ArrayList is a class

Is This Answer Correct ?    23 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which class should you use to obtain design information about an object in java programming?

1079


What is final class?

1024


What is a functional interface?

1043


what do you mean by stream pipelining in java 8? Explain

1028


Why is the type for real numbers called double?

960


What does ide stand for?

948


Difference between Linked list and Queue?

1029


What is the importance of finally block in exception handling?

1032


How to overcome the exception object reference not set to an instance of object?

1153


What is the difference between error and an exception?

1156


Which types of exceptions are caught at compile time?

1036


Can a constructor call the constructor of parent class?

1044


When arithmeticexception is thrown?

1034


Why vector class is used?

993


Which collections are thread safe in java?

926