B-tech-2-1/ClassWork/Java/Unit-1/3.Data Types, Variables,and Arrays/4.CharDemo2.java
// char variables behave like integers.
class CharDemo2 {
    public static void main(String args[]) {
    char ch1;
    ch1 = 'X';
    System.out.println("ch1 contains " + ch1);
    ch1++; // increment ch1
    System.out.println("ch1 is now " + ch1);
    /*
     In the formal specification for Java, char is referred to as an integral type, which means that it is
     in the same general category as int, short, long, and byte. However, because its principal use is for
     representing Unicode characters, char is commonly considered to be in a category of its own.
    */
    }
}