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 is the purpose of garbage collection in java, and when is it used?
Can we define private and protected modifiers for the members in interfaces?
What is stringwriter?
What are the difference between composition and inheritance in java?
What are benefits of java?
Explain notify() method of object class ?
Why singleton is not thread safe?
what is enumset?
extending thread class or implementing runnable interface. Which is better? : Java thread
Can we catch more than one exception in a single catch block?
Explain inner classes ?
Is it possible to use string in the switch case?
What is the difference between overriding and overloading in OOPS.
What class allows you to read objects directly from a stream?
Explain the use of javap tool.