Skip to content

Instantly share code, notes, and snippets.

@jwalgemoed jwalgemoed/init.kt Secret
Created Jan 3, 2018

Embed
What would you like to do?
class Environment {
val applicationName: String
init {
println("Initializing...")
applicationName = "Application Name"
}
}
fun main(args: Array<String>) {
println(Environment().applicationName)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.