Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class Main {
    public static void main(String[] a) {
        FileInputStream inputFile = null;
        try {
            inputFile = new FileInputStream("C:/myFile.txt");
        } catch (FileNotFoundException e) {
            e.printStackTrace(System.err);
        }
    }
}