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

What is the public field modifier?

1028


How can we make a class virtual?

1116


What is the += operator called?

1063


How do you empty a list in java?

980


What does compareto () do in java?

1001


What is difference between module and function?

1187


What is the difference between break and continue statements?

1040


What is parameter example?

1026


What is a boolean field?

961


what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread

1123


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

1081


What does microservices mean?

955


What do you mean by Function Overloading in java?

1182


Why should we use singleton pattern instead of static class?

932


Can we cast any other type to boolean type with type casting?

961