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

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

Recommended Answers

All 3 Replies

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

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.