IT 114: Introduction to Java
Answers to Class 33 Ungraded Quiz
What do you call the principle that allows you
to construct a new class based on another class?
inheritance
When you create a new class based on another class,
what can you use from the previous class?
fields and methods
If you want to use a class representing one thing
as the basis for a class representing another thing,
what must the relationship between the two things be?
an ""is a" relationship
If one class is used to create another class, what do
you call the new class?
subclass or derived class
If one class is used to create another class, what do
you call the original class?
superclass or base class
Could you use the class Cat
to be the basis of the class Pet?