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 nullpointerexception?
How do you convert boolean to boolean?
Why is the main method static?
Describe different states of a thread.
What is are packages?
Can you add null to a list java?
What string is utf8?
explain local datetime api in java8?
What is replaceall in java?
Can we have multiple catch block for a try block?
What are the drawbacks of singleton class?
What is runtime locatable code?
What are the basics of core java?
What are the high-level thread states in java programming?
How to find the index of the largest number in an arraylist java?