Card 27 / 32: 1. class Zing { 2. protected Hmpf h; 3. } 4. class Woop extends Zing { } 5. class Hmpf { } Which is true? (.)
A)
Woop IS-A Hmpf and HAS-A Zing.
B)
Zing IS-A Woop and HAS-A Hmpf
C)
Hmpf HAS-A Woop and Woop IS-A Zing.
D)
Woop HAS-A Hmpf and Woop IS-A Zing.
E)
Zing HAS-A Hmpf and Zing is-a Woop
Answer:
D) Woop HAS-A Hmpf and Woop IS-A Zing.
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|