Difference between array and arraylist.
Answer Posted / chinnu
Array:arrays is not for our requirement once we create a size next we cant change the size.in advance we cant estimate the size.its taking only homogeneous elements.
Array list:array list is same as collections and vectors.array list is or requirement we can change the size in advance also and estimate the size.its taking both homogeneous and heterogeneous elements .
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is integer size in java?
What is args length in java?
What is floating data type?
Explain tree set and its features?
What is difference between fileinputstream and filereader in java?
how we can make a write-only class in java?
State the difference between strings and arrays.
Can we use switch statement with strings?
What is difference between final and finally in java?
What is the relationship between clipping and repainting under awt?
What are the wrapped, classes?
What is the difference between static method and instance method in Java?
What is command line argument
What is the difference between the final method and abstract method?
When do we use synchronized methods in java?