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. Hi Sir...
sir i am a student and I am work

View Tutorial          By: Sanzu at 2013-02-12 09:13:01

2. PROGRAMMING SUPERB
View Tutorial          By: vinay sharma at 2010-10-01 05:16:23

3. This example has helped me a lot.! kudos to the wr
View Tutorial          By: Disha Sareen at 2014-12-24 09:30:12

4. Awesome Explanation...:-)
View Tutorial          By: satz at 2011-06-28 01:45:56

5. i am getting d following error:-

Se

View Tutorial          By: nikitha at 2013-02-07 09:23:12

6. What is the \ in several of the string building st
View Tutorial          By: rogerb at 2012-01-28 23:07:31

7. This code works for me. But i have a doubt how to
View Tutorial          By: Daya at 2015-05-04 12:04:19

8. hi I am execute this code But message can't send <
View Tutorial          By: Sudhir Patil at 2011-02-01 10:28:28

9. Thanks
Your solution helped me a lot :)

View Tutorial          By: sendhil at 2010-05-28 01:12:41

10. /* File name : Employee.java */
public abst

View Tutorial          By: Anonymous at 2012-11-16 12:23:17