Last active
January 28, 2020 16:29
-
-
Save ionelh/c400ee9ec2f51a1a267f8aefbc7286e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// min / max value | |
System.out.println(Character.MIN_VALUE + 0); | |
System.out.println(Character.MAX_VALUE + 0); | |
// char stores a single 16-bit Unicode character from '\u0000' (or 0) to '\uffff' (or 65,535 inclusive) | |
char A = 'A'; // char's are always wrapped in single quotes | |
char special = '~'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment