Difference between array and arraylist.

Answer Posted / suhas

Array: can store primitive ArrayList: Stores object only
Array: fix size ArrayList: resizable
Array: can have multi dimensional
Array: lang ArrayList: Collection
framework

Is This Answer Correct ?    74 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java hard to learn?

461


What are the types of java?

600


Why deletion in linkedlist is fast than arraylist?

533


What is java virtual machine and how it is considered in context of java’s platform independent feature?

651


What does || mean in code?

543






Describe what happens when an object is created in java ?

545


How do you execute a thread in java?

503


What are the disadvantages of using inner classes?

551


Similarity and difference between static block and static method ?

535


What is set and get methods in java?

541


Can inner class final?

631


Can a class have multiple constructors?

532


What are the files generated after using IDL to java compiler?

582


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

610


What is literal example?

560