What are the similarities between an array and an ArrayList?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java object name?

551


Can we call a non-static method from inside a static method?

561


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

839


How can you set the applet size?

579


which pattern is default in scanner package?

1803






Can I extend singleton class in java?

631


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

554


Does list maintain insertion order java?

539


give an example for encapsulation?

582


Can I declare a class as private?

592


What is the string function?

557


Is null a string or object in java?

550


What is the main functionality of the remote reference layer?

1414


What is use of set in java?

495


What is nextline method in java?

564