What is the difference between array and arraylist?
what is the difference between arraylist and linkedlist?
Answer Posted / ram
array contain a similar data type and array size is fixed i.e
dynamically its size can't be changed.
but arraylist can store more then one data type and its size
can be changed dynamically.
one major difference is that,array used to store primitive
data type(i.e. int,char etc) while arraylist is used to
store objects.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is included in core java?
What is the final class modifier?
What is a qms manual?
What is a flag variable?
How is java hashmap implemented?
How do you do descending order in java?
Explain a situation where finally block will not be executed?
What is the main difference between java platform and other platforms?
Does substring create a new object?
How do I stop concurrentmodificationexception?
What are the differences between abstract class and interface?
Compare java and python.
Difference between static and dynamic class loading.
What is indexof?
Can you use abstract and final both with a method?