Created
January 1, 2022 14:08
-
-
Save arsalankhan994/257199a49652c455f891f558d97b1dbb 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
fun main() { | |
// string value | |
var stringValue: String = "Erselan Khan" | |
println("String value $stringValue") | |
// int value | |
var intValue: Int = 1 | |
println("Int value $intValue") | |
// float value | |
var floatValue: Float = 1f | |
println("Float value $floatValue") | |
// boolean value | |
var booleanValue: Boolean = false | |
println("Boolean value $booleanValue") | |
// double value | |
var doubleValue: Double = 1.0 | |
println("Double value $doubleValue") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment