22 lines
298 B
Plaintext
Vendored
22 lines
298 B
Plaintext
Vendored
class Derived : Base {
|
|
constructor() /* primary */ {
|
|
super/*Base*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
init {
|
|
<this>(super<Derived>).#value = 0
|
|
}
|
|
|
|
fun getValue(): Int {
|
|
return <this>(super<Base>).#value
|
|
}
|
|
|
|
fun setValue(value: Int) {
|
|
<this>(super<Derived>).#value = value
|
|
}
|
|
|
|
}
|
|
|