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 difference between fail-fast and fail-safe?

595


How do you represent a space in regex java?

526


What is parseint?

540


What is high level language in computer?

541


How do I write a self declaration?

558






What is the difference between jdk, jre, and jvm?

576


When should I use singleton?

525


What is anti pattern in java?

520


What is the purpose of an interface?

562


Are private methods final?

488


What is anagram of a string?

523


Can a method be static?

529


Explain what access modifiers can be used for methods?

572


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

711


What is difference between string and stringbuffer?

499