Difference between array and arraylist.

Answer Posted / abhay shukla

1) Array is the one which can save similar data type
elements and the size is limited.
2) Array list is a collection which is capable of saving
different data typed objects, and is grow able.
3) Array is the collection of values of the same data type.
Array list is a class

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by compiler?

571


Explain method overloading?

564


Why does java not support pointers?

543


What is collection sort in java?

545


How do you represent a space in regex java?

513






What are the escape sequences in java?

557


What is the purpose of the enableevents() method in java programming?

579


What does arrays sort do in java?

530


Define canvas?

560


List the interfaces which extends collection interface?

525


Can you override static methods?

497


Where and how can you use a private constructor?

527


How to connect to a remote database using Applet?

2036


What is the use of parse function in java?

505


Can I extend singleton class in java?

618