mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
12 lines
167 B
Kotlin
Vendored
12 lines
167 B
Kotlin
Vendored
abstract class B() {
|
|
abstract fun foo2(arg: Int = 239) : Int
|
|
}
|
|
|
|
class C() : B() {
|
|
override fun foo2(arg: Int) : Int = arg
|
|
}
|
|
|
|
fun invokeIt() {
|
|
C().foo2()
|
|
}
|