import java file functions code example Example: java file reader construct input Click to copyReader fileReader = new FileReader("c:\\data\\input-text.txt");