Difference between array and arraylist.
Answer Posted / nagarjunareddy.sannapareddy
array is a collection of similar type of data and the
capacity of array is fixed and it define with in system name
pace
array list it hold different type of data and the capacity
of hairstylist is increase dynamically it define withe in
system.collections name space
Is This Answer Correct ? | 29 Yes | 10 No |
Post New Answer View All Answers
What is the need of transient variables in Java ?
What is constructor chaining in java?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
Can we assign null to double in java?
Is java 11 paid version?
What are identifiers in java?
Can we overload the constructors?
What is application tier?
Explain exception chaining in java?
What is integers and example?
Can we restart a dead thread in java?
How does arraylist size increase in java?
What is sortedmap interface?
What is meant by singleton class?
Can private method static?