Computer Science, asked by UniquePrincess1234, 11 months ago

Why is an array called a reference data type?​

Answers

Answered by singhpinki195
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