Is array a primitive data type in Java?



No, arrays are not primitive datatypes in Java. They are container objects which are created dynamically. All methods of class Object may be invoked on an array. They were considered as reference data types.

Samual Sam
Samual Sam

Learning faster. Every day.


Advertisements