Computer Science, asked by Asif100010000, 7 months ago

why class is known as reference data type ? ​

Answers

Answered by Anonymous
0

\huge\sf\underline{\pink{A}\orange{N}\blue{S}\red{W}\green{E}\purple{R}}

The name of a class can be used as a type, so you can declare an object-type variable or specify that a method returns an object. ... Because using a class name as a type declares a reference to an object, such types are called reference types.

#zeaL☑

Similar questions