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
State the difference between strings and arrays.
Difference between nested and inner classes ?
How does arrays sort work in java?
What makes a function well defined?
What are the legal parameters?
How do you input a string in java?
What is the default value of an object reference declared as an instance variable?
What is Classloader in Java?
How to pass arraylist to stored procedure in java?
What do you know about java?
How does linkedlist work in java?
What are latest features introduced with java 8?
What are the advantages of exception handling in java?
What are JVM.JRE, J2EE, JNI?
What is parse method?