-
-
Save parzibyte/dd373b90753c580c2e311f4b5e552cd6 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
object constantes{ | |
const val PI = obtenerPI() | |
fun obtenerPI() = 3.1416 | |
} | |
println(constantes.PI) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment