Why is an array called a reference data type?
Answers
Answered by
2
Here is your answer♡(∩o∩)♡
An array called a reference data type because using a class name as a type declares a reference to an object, such types are called reference types. Java also allows the use of an interface name to specify a reference type. In addition, array types in Java are reference types because Java treats arrays as objects.
Hope this help(♥ω♥ ) ~♪
Similar questions
English,
5 months ago
Math,
5 months ago
Social Sciences,
5 months ago
Math,
11 months ago
Biology,
11 months ago