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
Which java ide is used the most?
Can constructor be synchronized?
Is array passed by reference in java?
Where are the card layouts used?
Can private members of a base class are inheritable justify?
What is an escape character in java?
What is the purpose of sizeof operator?
What is a class object?
Can you extend main method in java?
List some important features of java 10 release?
How to change the priority of thread or how to set the priority of thread?
If two threads have same priority which thread will be executed first ?
What are the differences between forwarding () method and sendredirect() methods?
Can you declare the main method as final?
List primitive java types?