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 variable and example?
How is it possible for two string objects with identical values not to be equal under the == operator?
Can a class extend 2 classes in java?
What is meant by binding in rmi?
What is the current version of java?
Can a class extend more than one class?
What steps are taken when the OS shifts from one-thread execution to another?
Why do we need wrapper classes?
What will happen to the exception object after exception handling?
What is an iterator java?
Explain the reason behind ending a program with a system.exit(0)?
Why synchronization is important?
Can we have a method name same as class name in java?
Is java based on c?
What do bitwise operators do?