mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
30 lines
554 B
Plaintext
Vendored
30 lines
554 B
Plaintext
Vendored
open class A {
|
|
open fun foo() {}
|
|
}
|
|
|
|
interface B {
|
|
fun bar()
|
|
}
|
|
|
|
class C : A(), B {
|
|
override fun bar() {
|
|
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
|
|
}
|
|
|
|
override fun equals(other: Any?): Boolean {
|
|
return super.equals(other)
|
|
}
|
|
|
|
override fun foo() {
|
|
super.foo()
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return super.hashCode()
|
|
}
|
|
|
|
override fun toString(): String {
|
|
return super.toString()
|
|
}
|
|
}
|