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 abstract class? Explain
What is floor in java?
Which access specifier can be used with class ?
What is the static block?
Write a method to check if input string is palindrome?
Explain the importance of import keyword in java?
What do you mean by inner class in java? Explain
How many characters is 16 bytes?
How many bits is a word?
What are the advantages of arraylist over arrays?
In how many ways we can create threads in java?
What is the difference between actual and formal parameters?
What is jar?
Write a program to check string is palindrome without using loop?
What is the difference between exception and error in java?