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
What are passing parameters?
Is map sorted in java?
What access modifiers can be used for methods?
How does indexof work?
Can an anonymous class be declared as implementing an interface and extending a class in java programming?
How to Sort Strings which are given in List and display in ascending order without using java api.
How will you compute size of a structure?
Java is pass by value or pass by reference? Explain
Is 0 a prime number?
How do you declare a variable?
What are the loops in java?
How to create a fecelet view?
Can we cast any other type to boolean type with type casting?
What are bind parameters?
What is meant by stack and queue?