Created
January 19, 2015 05:18
-
-
Save shigemk2/f6174315cd2c10883eb4 to your computer and use it in GitHub Desktop.
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
println(1) | |
println(1d) | |
println(1f) | |
println(1000L) | |
val ab = 0: Byte | |
println(ab) | |
val ai = 0: Int | |
println(ai) | |
val as = 0: Short | |
println(as) | |
val ad = 0: Double | |
println(ad) | |
val af = 0: Float | |
println(af) | |
val ab1 = 0:Byte | |
println(ab1) | |
val aby:Byte = 0 | |
println(aby) | |
val ain:Int = 0 | |
println(ain) | |
println(0x20) | |
println(0x20L) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment