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