char myGrade = 'B';System.out.println(myGrade);
myGrade
out
The “char” keyword is utilized as a data type for storing individual characters.
A char value necessitates single quotes for its representation, as in ‘A’ or ‘c’.