Question: You will write a program that builds on the ideas and concepts you have learned throughout this course, including the use of OOP principles, which
You will write a program that builds on the ideas and concepts you have learned throughout this course, including the use of OOP principles, which are introduced in chapters and Your program will include a Superclass called Humanoids, followed by three subclasses called Humans, Elves and Dwarves. All three subclasses will inherit 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 attributes:
Height
Weight
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
class Humans:
to any attribute of the user's choice
class Elves:
Resistance to Sleep cant be put to sleep
Gain to their Dexterity and Charisma scores
class Dwarves:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
