The default value of an object reference declared as an instance variable is
Answers
Answered by
3
Answer:
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
Computer Science,
8 months ago
Hindi,
8 months ago
Business Studies,
1 year ago
History,
1 year ago
History,
1 year ago
Biology,
1 year ago