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

How do you access command-line arguments within the code?

1002


What’s the difference between callable and runnable?

1018


What is difference between add() and addelement() in vector?

1482


What is the exact difference in between Unicast and Multicast object?

2039


Does constructor return any value?

969


How do you create immutable object in java?

987


What is the default size of arraylist in java?

1008


Are primitives objects?

998


What does sizeof return?

929


How many characters is 2 bytes?

937


Write a program to print fibonacci series

1071


What is a java string?

987


Difference between nested and inner classes ?

1051


How do I start learning java?

999


Can one thread block the other thread?

976