MyClass.java
 

public class MyClass {
  public static void main(String[] args) {
    char myGrade = 'B';
    System.out.println(myGrade);
  }
}

Result:
B