abstract class Base(val x: String) class Derived(x: String) : Base(x) { }