In this tutorial, we will learn about Java FileReader and its methods with the help of examples. The FileReader class of the java.io package can be used to read data (in characters) from files.
Introduction. The Java.io.FileReader class is a convenience class for reading character files.Following are the important points about FileReader −. The constructors of this class assume that the default character encoding and the default byte-buffer si
FileReader(String fileName) This constructor creates a new FileReader, given the name of the file to read from. Once you have FileReader object in hand then there is a list of helper methods which can be used to manipulate the files.
Post a Comment:
Showing 0 Comments: