Question: To Do public String name: public int h=100 puble Into 10. Dude // write a method cal sayNamell to print the name of the dude
To Do public String name: public int h=100 puble Into 10. Dude // write a method cal sayNamell to print the name of the dude Wizard Create Dude Class(Copy mine) Create Wizard class that extends Dude Has to have a method : printSpell () In printSpell, print "you are a wizard.. Harry!" Create an OzWizard class extends Wizard class Has to have 2 new method printSpell similar to wizard but now says "I am OZ wizard" mpUpdate this.mp + 1; I give you the main class . . OzWizard . Settings
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
