Computer Science, asked by slnchary9608, 11 months ago

What is the default value of an object reference declared as an instance variable?

Answers

Answered by Anonymous
0

Visibility is similar to instance variables. However, most static variables are declared public since they must be available for users of the class. Default values are same as instance variables. For numbers, the default value is 0; for Booleans, it is false; and for object references, it is null.

Similar questions