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
Which is faster call by value or call by reference?
What is java literals?
What do you mean by ordered and sorted in collections in java?
What methodology can be utilized to link to a database?
What is difference between c++ and java ?
How does java pattern compile work?
What does flagged out mean?
what is deadlock? : Java thread
How can you set the applet size?
Why does java does not support multiple inheritance? Explain
What is a top level class in java?
What does sizeof return?
What is the parse method in java?
What is the difference between a factory and abstract factory pattern?
What are the differences between abstract class and interface?