Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

public class Main {

    public static void main(String[] args) {
        InputStream fileInputStream;
        try {
            fileInputStream = new FileInputStream("c:/a.txy");
            Runtime runTime = Runtime.getRuntime();
            runTime.getLocalizedInputStream(fileInputStream);
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }

    }
}