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 is array sorting in java?

748


Can I use % with real numbers?

730


What are synchronized methods ?

804


List out five keywords related to exception handling ?

775


What do you understand by the term wrapper classes?

734


Can a class be final?

678


What occurs when an object is constructed?

750


What is api data?

741


What are the differences between heap and stack memory?

730


Can we restart a dead thread in java?

724


Is it possible for a yielded thread to get chance for its execution again?

704


What is array length in java?

694


What is the use of conditional statement?

722


What do you mean by an interface in java?

746


Can a class have multiple constructors?

721