Created
November 22, 2019 05:12
-
-
Save josep2/05b8f94799f72845b72f93dbec7992a9 to your computer and use it in GitHub Desktop.
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
case class Drink(name: String) | |
val henny = Drink("henny") | |
val henny2 = henny.copy() | |
println(henny.equals(henny2)) | |
//true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment