Description
Program that implements classes for different kinds of dwellings. Shows how to: Create class hierarchy, variables and functions with inheritance, abstract class, overriding, and private vs. public variables.
Project sourced from: Classes and inheritance in Kotlin
Kotlin
Install the compiler
Compile the application using the Kotlin compiler
$ kotlinc classesAndInheritance.kt -include-runtime -d classesAndInheritance.jar
Run application
$ java -jar classesAndInheritance.jar