面白みに欠けるけど
case class A() {
def ==(t: Int): Boolean = true
}
val a = A()
println(a == 1 && a == 2 && a == 3) // true
Go to list of users who liked
More than 5 years have passed since last update.
面白みに欠けるけど
case class A() {
def ==(t: Int): Boolean = true
}
val a = A()
println(a == 1 && a == 2 && a == 3) // true
Register as a new user and use Qiita more conveniently
Go to list of users who liked