If the superclass' constructor requires parameters, you need to add them in your call to that constructor to set up the inheritance hierarchy.

The Base class is marked with the open keyword. This is required for classes that are to be extended. By default, Kotlin classes cannot be extended.

You can learn more about this in:
Run Edit