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 use a default constructor of a class even if an explicit constructor is defined?
How do you implement polymorphism in our day to day life?
What are the methods of object class ?
What is intern method in java?
What happens when you add a double value to a string?
What are the restrictions imposed on method overriding?
What are benefits of java?
Write a program to print fibonacci series up to count 10.
Explain features of interfaces in java?
What is the meaning of nullable?
What is a parent class in java?
What is difference between static class and normal class?
What is meant by 'Class access modifiers'?
What is the main use of generics in java?
What does string intern() method do?