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

Is hashmap thread safe?

755


How to perform linear search in java?

739


What causes memory leak in java?

685


What is the final class?

729


What is jar?

826


What is object data type?

772


How do you check if a number is a perfect square?

733


What is a protected method?

827


What is casting in java programming?

768


How do I find and replace in word?

724


What is a percentage sign called?

816


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

801


Do I need java on my computer?

729


Is main an identifier?

749


What is jagged array in java?

736