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

Answer Posted / g.arun

Array is not growable and Arraylist is growable

We can access elements in a Arraylist randomly and in
LinkedList we cannot(means for accessing an element we have
traverse from first elemet in Linkedlist.

Is This Answer Correct ?    41 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between menuitem and checkboxmenu item?

788


What are synchronized methods ?

622


What is parsing a string?

594


What is byte value?

560


What are nested classes in java?

613






Define inheritance with reference to java.

587


When is the arraystoreexception thrown?

574


Is it possible to override the main method?

537


What is java object name?

553


How do you clear an arraylist in java?

502


What are the two ways of implementing multi-threading in java?

824


explain the difference between jdk and jvm?

564


What is mnemonic in assembly language?

557


What are the properties of thread?

506


What is parsing a sentence?

551