Question: Suppose a Game class inherits from two parent classes: BoardGame and LogicGame. Which statement is true about the methods of an object instantiated from the Game class?

  1. When instantiating an object, the object doesn't inherit any of the parent class's methods.
  2. When instantiating an object, the object will inherit the methods of whichever parent class has more methods.
  3. When instantiating an object, the programmer must specify which parent class to inherit methods from.
  4. An instance of the Game class will inherit whatever methods the BoardGame and LogicGame classes have.

Answer: The correct answer of the above question is Option D:An instance of the Game class will inherit whatever methods the BoardGame and LogicGame classes have.