mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
13 lines
152 B
Kotlin
Vendored
13 lines
152 B
Kotlin
Vendored
// InnerClasses
|
|
|
|
class Bar(val a: Int) {
|
|
val b: Int = 0
|
|
|
|
fun getAPlusB() = a + b
|
|
|
|
class Baz {
|
|
fun doSomething() {
|
|
|
|
}
|
|
}
|
|
} |