fun main(args:Array<String>) { var age:Int=19 age=16 when(age) { 17-> println("17") 18-> println("18") 19-> println("yep 19") else -> { println("none of the above") } } }
- OUTPUT none of the above
- 2
fun main(args:Array<String>) { var age:Int=19 age=16 when(age) { 17-> println("17") 18-> println("18") 19-> println("yep 19") else -> { println("none of the above") } } }
how to make crores from 1 lakh in stock markets in 1 year
0 comments:
Post a Comment