Skip to content

WCCCEDU/java_comparing_strings_with_equals_a_study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Sample Output

run:
Comparing String Literals
The Same by ==
Hash Codes
1735600054
1735600054

Comparing String Instance Literals
The Same By .equals()
Hash Codes
21685669
2133927002

Comparing Constructed Strings
The Same By .equals()
Hash Codes
1735600054
1836019240

Comparing Unlike Strings
Not The Same
Hash Codes
1735600054
1836019240
BUILD SUCCESSFUL (total time: 0 seconds)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages