Difference between array and arraylist.

Answer Posted / ravikiran

array is the one which can save similar data typed elements.
And the size is limited.
arraylist is a collection which is capable of saving
different data typed objects,And is growable.

Is This Answer Correct ?    373 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic concept of java?

636


What are the five major types of reference sources?

631


Can a constructor call the constructor of parent class?

627


Can we catch more than one exception in single catch block?

713


What is byte data type?

628






What is the symbol for space?

658


What is void data type?

661


What is the use of predicate in java 8?

571


What is collections framework?

697


Are strings immutable in java?

598


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

667


What is the purpose of the main method?

638


What is the java reflection api? Why it’s so important to have?

631


What is a singleton puppy?

625


Difference between method overloading and overriding.

658