Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.io.File;
import java.io.FileReader;

public class Main {
    public static void main(String[] args) throws Exception {
        FileReader fileReader = new FileReader(new File("c:/abc.txt"));
        System.out.println(fileReader.read());
        fileReader.close();

    }
}