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
Why is the singleton pattern considered to be an anti pattern?
What is the difference between hashmap and hashtable in java?
Write a java program to count the number of words present in a string?
How do you control extraneous variables?
Tell us something about an iterator.
What is java argument list?
What are functions in java?
Where is java located?
What is Java Annotations?
What's the purpose of using break in each case of switch statement?
How do you do exponents in java?
What is the difference between the ">>" and " >>>" operators in java?
How can you share data between two thread in Java?
What will happen if a thrown exception is not handled?
What is void in java?