Difference between array and arraylist.
Answer Posted / sharath
Array is collection of similar
data items.
ArrayList is a utill package its a collection.
Array can store primitive and fixed size.
ArrayList are Stores object only and resizable.
Is This Answer Correct ? | 45 Yes | 9 No |
Post New Answer View All Answers
What are the fileinputstream and fileoutputstream?
In a class implementing an interface, can we change the value of any variable defined in the interface?
Is 0 a real number?
What are "methods" and "fields"?
How thread scheduler schedule the task?
How do you check if a number is a perfect square?
Explain the difference between transient and volatile in java?
Explain java coding standards for classes or java coding conventions for classes?
How do you use substring in java?
Explain about varargs in java?
What is an object class?
What is this keyword in java?
Can you override static methods?
What is parse method?
Which is the best approach for creating thread ?