Quiz: Subtyping and Inheritance
Take a quiz on subtyping and inheritance.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
(Select all that apply.) Consider the following class model:

Which of the following statements are true?
A.
All instances of Cde
have a value for the attribute a1
.
B.
The standard identifier of Cde
is a1
.
C.
All instances of Cde
may have an object reference ab
that references an object of type Bcd
.
D.
Direct instances of Abc
may have a value for c
.
E.
For any object of type Abc
the value of a3
must be greater than the value of a2
.
F.
For any object of type Cde
the value of a3
must be greater than the value of a2
.
G.
The standard identifier of Cde
is c
.
1 / 5