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
What is array sorting in java?
Can I use % with real numbers?
What are synchronized methods ?
List out five keywords related to exception handling ?
What do you understand by the term wrapper classes?
Can a class be final?
What occurs when an object is constructed?
What is api data?
What are the differences between heap and stack memory?
Can we restart a dead thread in java?
Is it possible for a yielded thread to get chance for its execution again?
What is array length in java?
What is the use of conditional statement?
What do you mean by an interface in java?
Can a class have multiple constructors?