Difference between array and arraylist.

Answer Posted / ravikiran

array is the one which can save similar data typed elements.
And the size is limited.
arraylist is a collection which is capable of saving
different data typed objects,And is growable.

Is This Answer Correct ?    373 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an interface in java?

767


What is ascii format?

746


What is type parameter in java?

712


Why declare Main() inside the class in java ?

795


What is the difference between yield() and sleep()?

750


What are the advantages and disadvantages of object cloning?

761


Are floats faster than doubles?

767


Difference between concurrent hashmap and hashtable and collections

775


What is casting in java programming?

768


How do you check whether the list is empty or not in java?

710


Can we declare array without size in java?

738


Is a char always 1 byte?

711


Define immutable object?

824


What does this () mean in constructor chaining concept?

802


What is the purpose of extern variable?

747