TEST: Ternary operator test.
This commit is contained in:
committed by
vvlevchenko
parent
ce059ac54b
commit
c54e786c33
@@ -0,0 +1,5 @@
|
||||
fun main(args : Array<String>) {
|
||||
val x = 2
|
||||
println(if (x == 2) "Hello" else "Привет")
|
||||
println(if (x == 3) "Bye" else "Пока")
|
||||
}
|
||||
Reference in New Issue
Block a user