What is the difference between array and arraylist?
what is the difference between arraylist and linkedlist?

Answer Posted / sureshkumar

Using array we can stored value by using index.

Using arraylist we can stored value by using key.so we can
retrive the values by using key and we can remove the value
from arraylist by using key.So the array overflow problem
wont happen.

Is This Answer Correct ?    8 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bean? Where it can be used?

586


Can we use static class instead of singleton?

565


What are classloaders?

589


What is difference between arraylist and list in java?

570


What is executor memory?

501






What is type parameter in java?

508


What is the list interface in java programming?

572


What is the difference between numeric and integer?

501


What is the difference between throw and throws keywords?

562


Why do we use regex?

547


What do you understand by casting in java language?

562


Is array a class in java?

490


What is a key in java?

491


What do you mean by ternary operator in java?

546


Explain about main() method in java ?

571