Java tutorial
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(); } }