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
Can you have two constructors in java?
What are different types of control structures?
What is the difference between final, finally and finalize()?
What are the different data types in java?
How do you convert an int to a double in java?
Explain JMS in detail.
What is the technique adopted to create an immutable class?
What is temp in java?
What is the statements?
What is bytecode in java ?
What differences exist between iterator and listiterator?
When do I need to use reflection feature in java?
What is a parent class in java?
Explain the difference between collection api and stream api in java8?
How to split arraylist elements in java?