Skip to content

Instantly share code, notes, and snippets.

@automationhacks
Created June 16, 2019 12:17
Show Gist options
  • Save automationhacks/7067edd21b02d8d61b479e28afd59275 to your computer and use it in GitHub Desktop.
Save automationhacks/7067edd21b02d8d61b479e28afd59275 to your computer and use it in GitHub Desktop.
Main func using Person.kt
fun main(args : Array<String>) {
val person = PersonKT("Jack", 30)
println(person.name)
println(person.age)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment