go to previous page   go to home page   go to next page

Answer:

No. At the hardware level each file is a collection of bytes. But Notepad can make no sense of the bytes intended for MS Word.


Text Files

MS Word files are not text files because the bytes are used to represent many types of information. In addition to characters, byte patterns are used to store formatting and font information. Notepad is not written to deal with this information and will not work correctly with a file that contains it. This is somewhat like a book written in English and a book written in Latin. The same book shelf could hold both books and both books use the same characters printed on paper. But some readers can only process the book written in English.

Notepad is written to read and write text files. A text file is a file that contains bytes that represent:

Text files are the easiest type of files for a program to deal with. Mostly, the next few chapters deal with text files.


QUESTION 6:

What type of file is used for Java source files?