Reading and Displaying Contents of Text File

Here is a working code that reads the content of a text file and displays it.

The program is console-based. You can modify it to ask for the location and name of a particular text file you want to read.

Click the link below to see the java code.

http://pastie.org/1074264

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s