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 class array in java?

610


What is object english?

678


List down the methods and interfaces of collection class in java.

638


Differece between class and generic class?

663


Explain how to force the garbage collection in java.

612






What is the use of System class?

713


What are 5 boolean operators?

723


What is another word for methodology?

632


What is computer compiler?

622


What is a stringbuffer?

623


What is temp in java?

665


How do you download stubs from Remote place?

1442


What are controls and their different types in awt?

685


What is the difference between error and an exception?

643


What is a qualifier in a sentence?

631