Overriding Properties & Functions in Kotlin Child Class

Kotlin Inheritance Inheritance is the concept of creating class hierarchies wherein we override properties and functions of the base class in its subclasses as per our needs. All classes in Kotlin have a common superclass : Any. Inheritance allows code reusability. Typically the superclass is known as the base class or the parent class and… Continue reading Overriding Properties & Functions in Kotlin Child Class