The default value of an object reference declared as an instance variable is ________.

  • null
  • 0
  • FALSE
  • TRUE
The default value of an object reference declared as an instance variable in Java is "null." When you declare an instance variable for a class, it initially points to no object until you explicitly assign an object to it. "null" signifies the absence of an object reference.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *