Java OCA OCP Practice Question 748


An instance member ...

Select 2 options

  • A. can be a variable, a constant or a method.
  • B. is a variable or a constant.
  • C. belongs to the class.
  • D. belongs to an instance of the class.
  • E. is same as a local variable.

Correct Options are  : A D


An instance member belongs to a single instance, not the class as a whole.

An instance member is a member variable or a member method that belongs to a specific object instance.

All non-static members are instance members.