Last active
June 3, 2018 17:44
-
-
Save ashwin-sp/7c32114bed82ffb635939ce05db47fc6 to your computer and use it in GitHub Desktop.
Data Class reference in Java file
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
data class Student(var name: String, var regNo: Long, var gender: String, var address: String, var phNo: Long) | |
/** Equivalent Java reference | |
Student std1 = new Student("Ashwin", 111712104013L, "Male", "Chennai", 4353453453L ) | |
**/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment