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
Can we clone singleton object?
What is jrmp?
What is gc()?
What is difference between core java and java ee?
How do you trim a space in java?
Which class is the superclass of all classes?
What is local class in java?
Is java platform independent?
Explain the public class modifier?
what is mutual exclusion? : Java thread
How many bytes is a string in java?
Can we serialize static variables in java?
Can variables be used in java without initialization?
Can we inherit inner class?
What do you understand by the bean persistent property?