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
| fun main(args: Array<String>) { | |
| val reza = Student("reza", 22) | |
| val ghasem = Student("ghasem", 22) | |
| println(ghasem.hashCode()) | |
| } | |
| /*class Student(val name: String, private val age: Int) { | |
| fun printPlan() = "Plan" |
NewerOlder