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
How many bytes is a url?
Can we store variables in local blocks?
What is a flag value?
What is object-oriented programming?
Difference between operator overloading and function overloading
what are synchronized methods and synchronized statements? : Java thread
What is a nested list?
What is preparedstatement in java?
Can list have duplicates in java?
What is temp in java?
What is static class
what is the use of bean managed and container managed with example?
Explain the difference between call by refrence and call by value?
Is an empty arraylist null?
What are bind parameters?