Difference between array and arraylist.
Answer Posted / pooja
Array:array is the one which can save similar data typed
elements.
And the size is limited.
Arraylist:it is also a type of array in which we can extend
size
dynamically.
syntax:
ArrayList ar=new ArrayList();
where ArrayList is a class
Is This Answer Correct ? | 23 Yes | 10 No |
Post New Answer View All Answers
How many types of design patterns are there?
Is array dynamic in java?
What is the different types of functions?
Name container classes in java programming?
Why to use nested classes in java?
What is local declaration?
What variables are stored in stack?
What is bytecode verifier?
what is a green thread? : Java thread
How do you write a conditional statement?
What is jvm? Why is java called the platform independent programming language?
What is the base class of all exception classes in java?
Which is bigger float or double?
What is difference between synchronize and concurrent collection in java?
What do you understand by weak reference?