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 arrays fill in java?
What are exception handling keywords in java?
How to solve the problem of generating the unique hash keys with hash function?
What exactly is java?
Can we sort hashmap in java?
Is java a super set of javascript?
What is array list in java?
Can You Have Virtual Functions In Java?
How many bytes is a string?
Can we rethrow the same exception from catch handler?
What is the meaning of find and replace?
What are the 6 mandatory procedures for iso 9001?
What are the restrictions imposed on method overriding?
What is the argument in java?
What do you mean by flow of struts?