Let's see what you know

Question 1 of 6

Medal-premium 1

The relationship between superclasses and subclasses is a Has-a relationship.

Select one of the following:

  • True
  • False

Question 2 of 6

Medal-premium 1

A subclass absorbs the state and behavior of the superclass

Select one of the following:

  • True
  • False

Question 3 of 6

Medal-premium 1

The is-a relationship is not transitive.

Select one of the following:

  • True
  • False

Question 4 of 6

Medal-premium 1

The superclass also inherits all characteristics of the subclass.

Select one of the following:

  • True
  • False

Question 5 of 6

Medal-premium 1

Inheritance is an effective method for code reuse.

Select one of the following:

  • True
  • False

Question 6 of 6

Medal-premium 1

A subclass can also be a superclass for another subclass

Select one of the following:

  • True
  • False
Icon_fullscreen

Let's see what you know

joannazhang13
Quiz by , created over 1 year ago

An introduction to inheritance quiz!

Eye 2
Pin 0
Balloon-left 0
Tags
joannazhang13
Created by joannazhang13 over 1 year ago
Close