Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String[] argv) {
        char ch = 'a';

        System.out.println("ch is " + ch);//ch is a
        ch = '@';

        System.out.println("ch is " + ch);//ch is @
        ch = '#';

        System.out.println("ch is " + ch);//ch is #
        ch = '$';

        System.out.println("ch is " + ch);//ch is $
        ch = '%';

        System.out.println("ch is " + ch);//ch is %
    }
}