What are the two main differences between arrays and collections?

What are the two main differences between arrays and collections?



Answer: Collections can have elements added or removed without a strict size, and cannot accept primitive type variables, such as int, without using their wrapper classes, Integer in this case.


Learn More :

Data Structures

Learn More Multiple Choice Question :