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 ?    372 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Garbage collection in java?

587


What is compareto () in java?

535


How is abstraction implemented in java ?

537


Is array passed by reference in java?

577


Can we extend singleton class?

527






What is difference between Heap and Stack Memory?

531


How does compareto work in java?

568


What is void class in java?

525


When is the garbage collection used in Java?

654


What is variable and its types?

537


Write a program in java to find the maximum and minimum value node from a circular linked list.

514


Can array grow dynamically in java?

517


What is ‘has a’’ relationship in java?

720


What is java english?

489


Explain the difference between call by refrence and call by value?

557