Difference between array and arraylist.
Answer Posted / ranganathkini
A java.util.ArrayList has the following characteristics over
an array:
1. Provides a resizable array implementation
2. Implements the java.util.List interface
3. Has a tuning parameter called initialCapacity which
specifies the number of elements the ArrayList can hold
before it has to be resized.
| Is This Answer Correct ? | 174 Yes | 44 No |
Post New Answer View All Answers
What is merge sort in java?
You're given a Boolean 2D matrix, can you find the number of islands?
Can we convert stringbuffer to string?
Why java is not 100% object-oriented?
Is java same as core java?
Explain the differences between static and dynamic variables?
Can we return null in java?
What is multithreading and its advantages?
What is string pooling concept?
What does regex mean?
What happens if a constructor is declared private?
How can a gui component handle its own events in java programming?
Give few difference between constructor and method?
How java enabled high performance?
Why are parameters used in functions?