What are the similarities between an array and an ArrayList?
Answers were Sorted based on User's Feedback
Answer / manikandan [ gtec,vellore ].
both array and arraylist can store a duplicate elements in
un ordered way.
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / paks
Array is a create space of fix size while Arraylist is
depand on dynamic base .it create size depend on dynamic based
| Is This Answer Correct ? | 5 Yes | 8 No |
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 |
How is java hashmap implemented?
How is object created in java?
What are the advantages of defining packages in java?
Program to Find the second largest element in an array.
Can we override the static methods?
What method is used to compare two strings ?
What is nextint java?
Tell us something about set interface.
Is 0 true or false in java?
What is private protected in java?
what is the purpose of the runtime class?
Why are constructors used?