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
How do you create a sop?
Explain what is Marker interface?
Can we sort a map in java?
What do you mean by boolean?
Explain the difference between treeset and treemap in java?
How hashmap works in java?
What is a parameter example?
What is the static block?
What is meant by bytecode?
What is the difference between abstract class and interface1? What is an interface?
Why is the main method declared static?
Name some classes present in java.util.regex package.
How to perform linear search in java?
Which is the class in java?
What is OOP's Terms with explanation?