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. i dont understand
View Tutorial          By: amabelle pascual at 2014-01-09 23:47:14

2. Thanks a lot.
View Tutorial          By: Nirwana at 2009-04-24 05:17:10

3. Nice and easy to understand......Thanks for same
View Tutorial          By: vikas at 2011-07-21 07:44:30

4. thank you very much...
Explained in a simpl

View Tutorial          By: vineela at 2013-02-18 10:29:08

5. Can any help me to get Second line,Second word in
View Tutorial          By: Ramesh at 2012-07-21 11:12:05

6. great resource
View Tutorial          By: Anonymous at 2011-04-14 03:14:43

7. no output as well, i'm getting portlist and portId
View Tutorial          By: raul at 2015-10-09 20:05:02

8. thanks!
View Tutorial          By: leny at 2014-12-09 04:00:44

9. Whenever i run this program, it terminates immedia
View Tutorial          By: Gopi at 2015-08-19 06:55:41

10. what is the usage of 'detail' and 'debug' init par
View Tutorial          By: uday at 2011-07-21 04:53:02