0

what does it mean when you say' reading a java text file?'

what does it mean when you say 'writing a java text file?'

3
Contributors
3
Replies
5
Views
8 Years
Discussion Span
Last Post by stultuske
0

what does it mean when you say' reading a java text file?'

what does it mean when you say 'writing a java text file?'

well, in this way, it would look like it means:
writing a text file using a part of code written in Java
reading a text file using a part of code written in Java

0

what does it mean when you say' reading a java text file?'

what does it mean when you say 'writing a java text file?'

Files in Java are usually holders of different kinds of data. Reading a text file usually means taking a piece of information out of the file. This piece of information will now be usable by your program.

Writing text files is a (simple, very basic) mode of saving data. By this operation you make it possible to use your data again. Your will not lose your results, values etc.

These two operations actually are done by getting a reference to a specific file, by which you can manipulate it's content. Try searching BufferedReader and FileReader for more information.

0

Files in Java are usually holders of different kinds of data. Reading a text file usually means taking a piece of information out of the file. This piece of information will now be usable by your program.

Writing text files is a (simple, very basic) mode of saving data. By this operation you make it possible to use your data again. Your will not lose your results, values etc.

These two operations actually are done by getting a reference to a specific file, by which you can manipulate it's content. Try searching BufferedReader and FileReader for more information.

he didn't ask how to do this, chances are, he knows (or thinks to know) how to do this, just wasn't sure what his assignment ment

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.