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 thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
What is the advantage of functional interface in java 8?
How to perform merge sort in java?
What is a file pointer?
Is java programming easy?
How to add menushortcut to menu item?
What are singleton services?
How do you pass by reference?
What is the program compilation process?
How do you download stubs from Remote place?
In a container there are 5 components. I want to display all the component names, how will you do that?
What is meant by local variable and instance variable?
Can private method static?
What is string pooling concept?
What's the base class of all exception classes?