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 system.gc() and runtime.gc() methods do?
Tell me the Importent classes in net package?
What loop means?
Which are the two subclasses under exception class?
Why is stringbuffer not immutable?
What is object class in java?
Can we create our own wrapper class in java?
Is java a security risk?
What are the basic interfaces of java collections framework?
what is the purpose of the runtime class?
What is replaceall in java?
What must a class do to implement an interface in java programming?
Why webdriver is an interface?
What is string pool?
What is difference between overloading and overriding in java?