Challenge 5: Inheritance
Solve an exercise on inheritance to brush up on the previous inheritance concepts.
We'll cover the following...
Problem Statement
The code for the Rectangle
class is implemented below:
-
Create a
Square
class as a subclass ofRectangle
. -
Implement the ...