Question: Inheritance means . Question 1 2 Answer a . that a variable of supertype can refer to a subtype object b . none of the
Inheritance means
Question Answer
a
that a variable of supertype can refer to a subtype object
b
none of the above
c
that a class can contain another class
d
that data fields should be declared private
Question Answer
a
Raptor object can refer to a Lightning object
b
FighterJet object can not refer to a Lightning object
c
Lightning object can refer to a Raptor object
d
FighterJet object can refer to a Raptor object
Question Answer
a
Subclass is more detailed than the superclass
b
Superclass is more detailed than the subclass
c
Subclass and superclass are only related through composition
d
Both the subclass and superclass have the same level of detail
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
