@eliyah/

WastefulSingleConsultant

Kotlin (beta)

No description

fork
loading
main.kt
1
2
3
4
5
6
7
8
9
10
class Shape {

  var numberOfSides = 0
  fun simpleDescription() =
    numberOfSides
}

var shape = Shape()
shape.numberOfSides = Random()
println(shape.simpleDescription())
Welcome to Kotlin version 1.0.3