Multiple Classes Inheriting a Class

# Introduction In this lab, you need to create a program where two classes, Rectangle and Triangle, inherit from the Polygon class, and then create objects of both Rectangle and Triangle to call the display() method of the Polygon class.

|
60 : 00

Click the virtual machine below to start practicing