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 jvm? How its run?
What are autoboxing and unboxing? When does it occur?
Is assembly language a low level language?
What happens if we override only equals?
What is the right data type to represent a price in java?
Why collection doesn’t extend cloneable and serializable interfaces?
What is a protected method?
What do you mean by ternary operator in java?
What is the use of conditional statement?
What are the Static and Dynamic Variables? Differentiate them.
how to create multithreaded program? : Java thread
What are the concepts of 'OOPS'?
How can you say java is object oriented?
What is the concept of multithreading?
How do you define a variable?