Difference between array and arraylist.
Answer Posted / mohit
1-array is used for value type. but array list is used for reference type.
2-array is used for fixed size but aaray list is dyanamically increase at run time.
3-you can't resize an array but you can do resize the array list.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
In how many ways we can do exception handling in java?
Write a program to find the greatest of three numbers in java?
Explain the differences between static and dynamic variables?
What are the types of literals?
What does it mean to flush a file?
What is the use of string and stringbuffer?
Which number is denoted by leading zero in java?
What are parameters in a method?
What data type is true or false?
What is the difference between access specifiers and access modifiers in java? 16
What is a method header?
What do you mean by compiler?
What is arraylist e in java?
Why volatile is used in java?
Can you inherit a constructor java?