print files in java code example
Example: print files in java
BufferedReader fr=new BufferedReader(new FileReader("fileName"));
String line;
while((line = br.readLine()) != null){
System.out.println(line);
}
BufferedReader fr=new BufferedReader(new FileReader("fileName"));
String line;
while((line = br.readLine()) != null){
System.out.println(line);
}