Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
10 lines
367 B
Plaintext
10 lines
367 B
Plaintext
literal == literal : true
|
|
literal == new String : false
|
|
literal.equals(new String) : true
|
|
literal == c.intern() : true
|
|
constant + literal == "hello" : true
|
|
runtime concat == "hello" : false
|
|
runtime concat.intern() == "hello": true
|
|
built "java".intern() == the built instance : false
|
|
built unseen string .intern() == the built instance: true
|