Let's see what you know

Description

An introduction to inheritance quiz!
joannazhang13
Quiz by joannazhang13, updated more than 1 year ago
joannazhang13
Created by joannazhang13 over 9 years ago
9
0

Resource summary

Question 1

Question
The relationship between superclasses and subclasses is a Has-a relationship.
Answer
  • True
  • False

Question 2

Question
A subclass absorbs the state and behavior of the superclass
Answer
  • True
  • False

Question 3

Question
The is-a relationship is not transitive.
Answer
  • True
  • False

Question 4

Question
The superclass also inherits all characteristics of the subclass.
Answer
  • True
  • False

Question 5

Question
Inheritance is an effective method for code reuse.
Answer
  • True
  • False

Question 6

Question
A subclass can also be a superclass for another subclass
Answer
  • True
  • False
Show full summary Hide full summary

Similar

DNA Basics
Sarah Juliette B
Java Week 5 Object Oriented Programming
Troy Bowlin
What does inheritance do?
joannazhang13
Abstract Class Quiz
joannazhang13
Subclass Example
joannazhang13
Abstract Class Example
joannazhang13
Superclass Example 1
joannazhang13
Superclass Example 2
joannazhang13
AQA A2 Biology - Chapter 8 Inheritance and Selection
Charlotte Lloyd
Java Practice 1
Ummm No
Inheritance
alim586