d69c61c972
Preserve white spaces for top members (classes, package statements, comments)
33 lines
491 B
Kotlin
33 lines
491 B
Kotlin
package com.voltvoodoo.saplo4j.model
|
|
|
|
import java.io.Serializable
|
|
|
|
public class Language(code: String) : Serializable {
|
|
protected var code: String = 0
|
|
|
|
override fun toString(): String {
|
|
return this.code
|
|
}
|
|
|
|
{
|
|
this.code = code
|
|
}
|
|
}
|
|
|
|
|
|
class Base() {
|
|
fun test() {
|
|
}
|
|
fun toString(): String {
|
|
return "BASE"
|
|
}
|
|
}
|
|
|
|
class Child() : Base() {
|
|
override fun test() {
|
|
}
|
|
override fun toString(): String {
|
|
return "Child"
|
|
}
|
|
}
|