Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.io.FileInputStream;

public class Main {
    public static void main(String[] argv) throws Exception {
        FileInputStream file = null;
        file = new FileInputStream("main.java");
        byte x = (byte) file.read();
        System.out.println(x);
        file.close();

    }
}