CJCoding With Joseph

Wizard Extends Character

Character has a constructor that stores a health value. Complete the Wizard constructor so it calls the base constructor with 100. The tester creates a Wizard and prints its Health. Do NOT write a Main method.

The program prints:

100

Expected Output:

100
Topics:
Inheritance
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.