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



Ask a Question

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. not good not bad...............
View Tutorial          By: mahesh at 2010-10-05 00:45:54

2. Small modification.
System.out.println(&qu

View Tutorial          By: Rohit at 2012-02-07 16:22:52

3. //Program of Method Overloading with Runtime Value
View Tutorial          By: Subhojit Das at 2014-10-09 07:31:20

4. Hi, still having problem with 'Permission denied'.
View Tutorial          By: Dorjoo at 2012-05-18 19:00:22

5. can anyone please provide me how to map the column
View Tutorial          By: Gaurav Balyan at 2012-01-03 11:09:26

6. its work well , thanks for code , but if any body
View Tutorial          By: mary at 2007-12-16 07:10:58

7. very good for programing
View Tutorial          By: kiran at 2007-12-06 00:39:47

8. Hi I need code examples J2ME for chating aplicatio
View Tutorial          By: agus at 2010-04-03 04:16:11

9. hi.I am new in j2me and really want to learn more
View Tutorial          By: Vicky Mittal at 2012-01-05 11:45:53

10. can u explain about printStackTrace()method.what i
View Tutorial          By: himabindu at 2009-06-10 20:03:14