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 u so much.
View Tutorial          By: sai at 2012-07-09 10:49:33

2. clear concept explanation..
View Tutorial          By: ASHOK at 2013-01-16 07:31:35

3. please try to elaborate the explanation with examp
View Tutorial          By: bhavitha at 2014-02-21 06:09:12

4. Hi , I am mew to java please can u send detail how
View Tutorial          By: ramanji at 2011-12-11 05:36:41

5. nice tutorial
View Tutorial          By: Rakesh at 2012-05-30 01:13:00

6. Hello,
I've tried the above code, but I've

View Tutorial          By: Phyo Phyo at 2009-09-14 05:32:28

7. hello friends .. am looking for the java code that
View Tutorial          By: ahmed at 2008-09-18 21:48:21

8. Well the code is good but what if students start e
View Tutorial          By: nitin kumar sharma at 2015-07-15 06:58:18

9. Its awesome
View Tutorial          By: Ranjitha at 2012-08-02 10:21:59

10. Hi Rushabh, this only means that your port is not
View Tutorial          By: Ramlak at 2011-01-14 21:59:39