Ready to test your Knowledge?
Try out our new practice tests completely free!
exam preparation banner icon

Tools for Structured

Computing

Quiz 11 :

Inheritance

Quiz 11 :

Inheritance

search
arrow
The class at the highest level in a class diagram
Free
Multiple Choice
Answer:

Answer:

D

arrow
Which of the following is not an example of a generalization/specialization relationship?
Free
Multiple Choice
Answer:

Answer:

C

arrow
Another name for a subclass is a(n)
Free
Multiple Choice
Answer:

Answer:

C

arrow
If two methods in a class hierarchy have the same name,
Multiple Choice
Answer:
arrow
How is generalization/specialization represented on a UML class diagram?
Multiple Choice
Answer:
arrow
A tennis player is a kind of athlete is an example of
Multiple Choice
Answer:
arrow
Inheritance is
Multiple Choice
Answer:
arrow
Inheritance takes advantage of an existing generalization/specialization relationship.
True False
Answer:
arrow
Classes that are not abstract classes are sometimes referred to as
Multiple Choice
Answer:
arrow
Which of the following people was not involved in the definition of UML?
Multiple Choice
Answer:
arrow
A subclass cannot contain a data member that is not in its base class.
True False
Answer:
arrow
An abstract class
Multiple Choice
Answer:
arrow
A polymorphic method
Multiple Choice
Answer:
arrow
A subclass can contain a new design of an inherited method.
True False
Answer:
arrow
When two constructors are given in a class,they execute in sequence during processing.
True False
Answer:
arrow
The process of reimplementing in a subclass a method from the base class is called
Multiple Choice
Answer:
arrow
What is another name for an "is-a"relationship?
Multiple Choice
Answer:
arrow
When a subclass is created,processing proceeds as if
Multiple Choice
Answer:
arrow
A base class may also be called a(n)
Multiple Choice
Answer:
arrow
A subclass cannot inherit methods from another class at its same level.
True False
Answer:
Showing 1 - 20 of 30