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
What is JFC?
What is the difference between error and an exception?
Which is bigger float or double?
What do you understand by the term polymorphism?
Can we declare an interface as final?
Can we sort array in java?
What is qms certification?
What is the difference between object oriented programming language and object based programming language?
What is difference between fail-fast and fail-safe?
What is the return type of the main method?
What are classloaders?
What are the procedures?
Where are the local variables stored?
Explain the difference between abstract classes and interfaces in java?
Can an interface implement another interface?