First, we need to create a subclass that has the same properties as its superclass. We'll do that by calling the super() method.

Add the super() method to call the constructor of the superclass.

Make sure to add super to your code.