Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.io.*;

public class Main {

    public static void main(String[] args) {
        char c = 'A';

        PrintStream ps = new PrintStream(System.out);

        // append our characters
        ps.append(c);
        ps.append('y');
        ps.append('m');

        // print the result
        ps.flush();
        ps.close();

    }
}