KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Say you have three strings, String s1 = "string one"; String s2 = new String("string one"); String s3 = "string one"; I know it is true that s1 == s2 is false , but I read somewhere that s1 == s3 is true . Is this correct? Why or why not?
Tags (comma-separated)
Save Edits
Cancel