Java char Keyword
char myGrade = 'B'; System.out.println(myGrade);
Definition and Usage
char keyword is a data type that is used to store a single character.
A char value must be surrounded by single quotes, like 'A' or 'c'.
Read more about data types in our Java Data Types Tutorial.