Which four statements are true? (Choose four.)

Given:

1. class Mammal {
2. }
3.
4. class Raccoon extends Mammal {
5. Mammal m = new Mammal();
6. }
7.
8. class BabyRaccoon extends Mammal {
9. }

Which four statements are true? (Choose four.)

Given:

1. class Mammal {
2. }
3.
4. class Raccoon extends Mammal {
5. Mammal m = new Mammal();
6. }
7.
8. class BabyRaccoon extends Mammal {
9. }

Which four statements are true? (Choose four.)

A.
Raccoon is-a Mammal.

B.
Raccoon has-a Mammal.

C.
BabyRaccoon is-a Mammal.

D.
BabyRaccoon is-a Raccoon.

E.
BabyRaccoon has-a Mammal.

F.
BabyRaccoon is-a BabyRaccoon.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *