Last active
March 8, 2018 17:50
-
-
Save ruwanka/04f632c0e0ec22ca363c63bb9eb4392e to your computer and use it in GitHub Desktop.
One line Student class with accessors + mutators + toString + hasCode
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 Student(var name: String, var age: Int, val gender: String) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment