Difference between array and arraylist.
Answer Posted / priya
Simply,
Array is static ie, Size Does not grow, its fixed
ArrayList is dynamic, By adding values, it grows
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What is the basic of java?
What is regex java?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
Why string is immutable with example?
What is meant by structural programming?
Can we override data members in java?
Does java isempty check for null?
What do you mean by an object in java?
What is data structure in java?
How to calculate the length of a singly linked list in java?
How to sort an array in java without using sort method?
What is the use of volatile in java?
What is the association?
Does list maintain insertion order java?
Explain java coding standards for classes or java coding conventions for classes?