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
How many decimal places is a double?
What access modifiers can be used for methods?
Explain throw keyword in java?
Is minecraft 1.15 out?
Is java a virus?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Name few java.lang classes introduced with java 8 ?
What is the advantage of preparedstatement over statement?
What is time complexity algorithm?
Explain the difference between abstraction and encapsulation.
Is empty string in java?
What are the methods used to implement for the key object in the hash map?
What is the purpose of static keyword in java?
What must a class do to implement an interface in java programming?
Can we write multiple catch blocks under single try block?