Created
September 4, 2013 00:36
-
-
Save khannedy/6431416 to your computer and use it in GitHub Desktop.
if expression simple di scala
This file contains 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
@Test | |
def testIfExpressionSimple() { | |
val name = "Eko" | |
println(if (name == "Eko") "Akses Diterima" else "Akses Ditolak") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment