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 |
What is a class instance variable?
Howmany number of objects we can store in an ArrayList. Is there any limit?
How do you sort a string in java?
How many bits is a boolean?
How to Sort Strings which are given in List and display in ascending order without using java api.
whats the life cycle of jsp
What restrictions are placed on method overriding?
What are the advantages and disadvantages of reference counting in garbage collection?
What is the difference between inner class and nested class?
WHAT IS THE MEANING OF ALL TYPE OF BUZZWORDS?
What does I ++ mean?
Can a static method be overridden in java?