What are the similarities between an array and an ArrayList?

Answers were Sorted based on User's Feedback



What are the similarities between an array and an ArrayList?..

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

What are the similarities between an array and an ArrayList?..

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

What are the similarities between an array and an ArrayList?..

Answer / 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

More Core Java Interview Questions

What is a class instance variable?

0 Answers   Tech Mahindra,


Howmany number of objects we can store in an ArrayList. Is there any limit?

7 Answers   TCS,


How do you sort a string in java?

0 Answers  


How many bits is a boolean?

0 Answers  


How to Sort Strings which are given in List and display in ascending order without using java api.

1 Answers   LIC,






whats the life cycle of jsp

2 Answers   Satyam,


What restrictions are placed on method overriding?

0 Answers  


What are the advantages and disadvantages of reference counting in garbage collection?

0 Answers  


What is the difference between inner class and nested class?

0 Answers  


WHAT IS THE MEANING OF ALL TYPE OF BUZZWORDS?

4 Answers  


What does I ++ mean?

0 Answers  


Can a static method be overridden in java?

0 Answers  


Categories