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 for simple and nice code. Pls,
1. li

View Tutorial          By: Sherif at 2011-12-26 14:12:12

2. i have connected my phone through bluetooth using
View Tutorial          By: nikitha at 2013-02-06 05:05:04

3. I have maked all you said and when I open jsp I am
View Tutorial          By: John at 2013-01-10 14:21:30

4. Very usefull info.. Thank alot
View Tutorial          By: Srikanth at 2012-09-04 15:44:30

5. I want to know about all java application.
View Tutorial          By: Ahasan at 2009-04-10 09:42:48

6. Hi
Gr8 work......!!!!
thanks...!!!

View Tutorial          By: Antim Jain at 2010-07-12 23:44:14

7. Very helpful!!
View Tutorial          By: mahesh at 2012-07-12 06:24:50

8. Best Example for Inheritance. Thank lot!

View Tutorial          By: Periyasamy C Chennai at 2010-07-09 01:35:30

9. So simple..Very easy to understand
View Tutorial          By: G.Tejasree at 2011-11-05 11:51:38

10. this helped a lot!!!!
View Tutorial          By: karthik rk at 2012-09-04 16:32:25