Skip to content

Instantly share code, notes, and snippets.

@aniketmlk6
Created June 30, 2021 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniketmlk6/16709700a27a6ee80789bfb33e62757a to your computer and use it in GitHub Desktop.
Save aniketmlk6/16709700a27a6ee80789bfb33e62757a to your computer and use it in GitHub Desktop.
public static void main(String[] args) {
char char1 = 'a';
char char2 = 'b';
// false as 'a' is not equal to 'b'
System.out.println(char1 == char2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment