Created
June 4, 2017 06:34
-
-
Save agustarc/df240c53a6fcb844e9f4c3d4ccfa9420 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch(x) { | |
case 1 : | |
println("x is 1"); | |
break; | |
case 2 : | |
println("x is 2"); | |
break; | |
default : | |
println("x is neither 1 nor 2"); | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment