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