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
Explain restrictions on using enum?
What is the abstract class?
What is a Null object?
what is the significance of listiterator in java?
What about interthread communication and how it takes place in java?
Is java a security risk?
Is sizeof a keyword in java programming?
What is JVM and is it platform independent?
What does the @override annotation do?
What is the difference between a window and a frame in java programming?
How do you change an int to a string?
Is Java a dying language?
What exactly is a .class file?
What is treemap in java?
Why does java not support pointers?