Skip to content

Instantly share code, notes, and snippets.

@gauravkukade
Created December 21, 2019 04:09
Show Gist options
  • Save gauravkukade/3dc7f638f4b7dae62ca3911abde18038 to your computer and use it in GitHub Desktop.
Save gauravkukade/3dc7f638f4b7dae62ca3911abde18038 to your computer and use it in GitHub Desktop.
The output of the Java Program to compare strings using == operator https://coderolls.com/compare-strings-in-java/
Comparing strings using == operator
firstString == secondString : false
firstString == thirdString : true
firstString == fourthString : false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment