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 symbol for line break?

826


Can you give names of Container classes?

2029


Is singleton a bad practice?

794


Explain creating threads by implementing runnable class?

799


How can I become a good programmer?

674


Explain the difference between the public, private, final, protected, and default modifiers?

769


What is a substitution variable?

779


Which collections are thread safe in java?

683


Which data type is a class in java?

759


What is string :: npos?

764


can used Protected Class outside Function.?

812


How to perform merge sort in java?

783


Which of the classes will have more memory allocated?

725


Why does java does not support multiple inheritance? Explain

724


What are the characteristics of Final,Finally and Finalize keywords.

919