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 does flag mean in java?
In how many ways we can do synchronization in java?
What are the types of java languages?
What is the difference between ArrayList and Vector? which one is better in Java
What are the differences between getting and load method?
Why object class is super class for every class in java?
can java object be locked down for exclusive use by a given thread? : Java thread
Are arrays dynamic in java?
What happens when main () method is declared as private?
How do constructors use this() and super()?
Can you declare a private method as static?
Why string is not thread safe?
What are the differences between stringbuffer and stringbuilder?
Is java a super set of javascript?
Tell me about your ability to work under pressure