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
Can we create our own wrapper class in java?
when should you use stringbuilder class in a program?
What are the methods used to implement for the key object in the hash map?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is the role of the java.rmi.naming class?
How does singleton class work?
Does importing a package imports its sub-packages as well in java?
How do you reverse sort in java?
Can we create an object of static class in java?
What are predefined functions?
What is multi-catch block in java?
Explain the difference between hashmap and hashtable in java?
Does constructor return any value?
How to do a true java ping from windows?
Why super is first line in java?