Solution Review: "super" Keyword
In this lesson, we will discuss the solutions to the questions in the previous lesson.
We'll cover the following...
We'll cover the following...
For the code above, you had to answer the following question:
Explanation #
Let’s incorporate each option in our code and see if it’s correct.
Option A: name and sex should be passed as parameters to Human().
Let’s do that and see the result.
The error is still there, so this is not the issue. This makes sense since we are setting definite values for name and sex, so we ...