Inheritance of Class

# Introduction Inheritance is an important concept in object-oriented programming. It allows us to create a new class that is a modified version of an existing class. In this challenge, we will try to define a class and its subclass, and how to override a method in the superclass.

|60 : 00

Click the virtual machine below to start practicing