What are the similarities between an array and an ArrayList?
Answer Posted / harikrishna
An array is indexed fixed number of homogeneous elements.
where as in ArrayList you can create any number of objects
with any type.
Is This Answer Correct ? | 4 Yes | 10 No |
Post New Answer View All Answers
What is the difference between throw and throws keywords?
What is the same as procedures?
What are the methods to rectify ambiguities in the interfaces in JAVA?
Can a constructor be protected?
What is difference between throw and throws ?
What is the major advantage of external iteration over internal iteration?
What all access modifiers are allowed for top class ?
Explain about object oriented programming and its features?
How to convert string to byte array and vice versa?
What is the difference between interface & abstract class?
How will you add panel to a frame?
Which data type is class in java?
What does it mean to flush a file?
What is an class?
What is the use of list in java?