Created
June 9, 2019 08:14
-
-
Save houman-sanati/77b8c9bda59b4a222ce9a170c1e15335 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
data class Person(var name: String, | |
var age: Int, | |
var job: String) { | |
fun printPerson() = println(this.toString()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment