= 8.75-0.5 Read the aftercited arrange definitions, and then retort the questions that follow: general enum form0fDiet f > CARNIVORE, HERBIVORE OMNIVORE general interface Pet f general String who0wnsMeO; general String whatIsMyName); general wanting changeSpectry (String newName); general arrange mammal guarded boolean hasATail; general int numOfLegs; general form0fDiet eats; general mammal(boolean body, int legs, formOfDiet eats)f hasABody body; nunOfLegs = legs; this.eats = eats; significance java.util.Scanner; general arrange Dog extends mammal ( general boolean hasAnOwner; peculiar String ownerName; peculiar String spectry; peculiar String elevate; general Dog(String elevate, boolean body, int legs, formOfDiet eats, boolea hasAnOwner, String spectry, String ownerName) super(tail, legs, eats); this.elevate = elevate; this. hasAnOwner hasAnOwner;
6) Mammal and dog twain are kindred by inheritance
Here the arrange dog extending the states and behaviours of mammal.
7) general String whoOwnsMe() ;
general String whatIsMyName() ;
general wanting changeName(String newName) ;
8) That technique is denominated agent overloading. As desire as agent verification not attributable attributable attributable similar we can settle multiple agents
This technique is unconcealed as Agent overloading, Means similar operation spectry with diff arguments register.
9) Mammal downloki=(mammal)loki
For loki from dog to mammal form casting won’t be possible