Difference between array and arraylist.
Answer Posted / sitaram
Array is static,only one data type values are storing. Size
Does not grow, its fixed
ArrayList is dynamic,different data type values are storing.
By adding values, it grows
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
What is the symbol for average?
What is data type in computer?
What is difference between length and length() method in java ?
Is hashmap thread safe?
Can you extend singleton class?
What are the disadvantages of object oriented programming?
How do I start learning java?
Is object a data type in java?
What is the difference between variable declaration and variable initialization?
What is function overriding and overloading in java?
How is it possible for two string objects with identical values not to be equal under the == operator?
What is java thread dump, how can we get java thread dump of a program?
What is structure of java heap? What is perm gen space in heap?