Created
March 17, 2019 01:41
-
-
Save tbelmega/1d8d561748fa18aa83847fe88f61b427 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
val str1 = "Production" | |
val str2 = "Production" // referentially equal, String pool | |
val str3 = String("Production") // new object in memory, not referentially equal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment