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
Is c better than java?
What is this () in java?
Difference between start() and run() method of thread class?
How to add menushortcut to menu item?
Explain different ways of creating a thread?
What is the synonym of framework?
What is a java list?
explain autoboxing in java?
How to declare an arraylist in java?
Can we serialize singleton class?
What is a class object?
What is the purpose of using break in each case of switch statement?
Is the empty set a singleton?
What do you understand by java?
Why java is not 100% object-oriented?