Comment on Tutorial - FileReader and FileWriter example program in Java By Tamil Selvan



Comment Added by : Litty Joseph

Comment Added at : 2008-02-06 08:37:52

Comment on Tutorial : FileReader and FileWriter example program in Java By Tamil Selvan
Very useful. Just a small comment on the line:
FileReader fr = new FileReader("FileReaderDemo.java");

Practically there is no need to read a java source file by a java program. It will look good if it's:
FileReader fr = new FileReader("FileReaderDemo.txt");

In any case, this example is very useful. Thanks for this.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Thank you
View Tutorial          By: Angeline at 2011-06-28 06:27:12

2. Hi I am new to struts framework. Can u tell how to
View Tutorial          By: Nithya at 2012-11-27 14:03:46

3. This example is very good and useful. I request yo
View Tutorial          By: Ambarisha Malladi at 2010-02-10 22:50:38

4. You are so great at helping people. ;0
View Tutorial          By: Aaton at 2015-04-24 14:06:57

5. the code works fine,i also tried the write code.th
View Tutorial          By: Joy at 2013-11-25 05:24:23

6. This example is very clear. I cleared my concept o
View Tutorial          By: sukanta at 2009-10-20 06:08:50

7. Hi,.
No Change yaar, Im still getting the s

View Tutorial          By: Dinesh Rajendiran at 2012-03-23 05:19:06

8. good!
View Tutorial          By: rey.ryan at 2009-03-14 05:49:28

9. Good and Simple Example For Beginners Like me.Than
View Tutorial          By: Lasantha Bandara at 2010-06-29 19:21:48

10. how to read csv file using Java
View Tutorial          By: Shireesha at 2013-12-26 07:34:22