Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Programming Challenge 3 you will write a program that builds on the ideas and concepts you learned about Object oriented programming, classes, subclasses and
In Programming Challenge you will write a program that builds on the ideas and concepts you learned about Object oriented programming, classes, subclasses and inheritance. In particular, you will create a Superclass called Humanoids, followed by three subclasses called Humans, Elves and Dwarves. All three subclasses will inherit all the base features associated with the Humanoid class, but each will contain a few additional methods that help distinguish them from one another.
class Humanoid:
Height ft ft
Weight lbslbs
Hair color white silver, gray, black, brown, green, blue, yellow, pink, red, blonde
Eye color white black, red, green, blue, brown, purple, amber
Strength
Dexterity
Constitution
Intelligence
Wisdom
Charisma
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started