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

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

Files used by word processors are not called text files because their bytes represent many types of information. In addition to characters, byte patterns are used to store formatting and font information. Notepad will not work correctly with a file that uses bytes this way. The problem is not that the bytes in the file are different than the bytes in a text file, but that the bytes are used in a way that Notepad can't interpret.

This is somewhat like a book written in English and a book written in Latin. Both books use the same characters printed on paper. But some readers can only process the book written in English.

Notepad can read and write text files. A text file is a file that contains bytes with bit patterns that represent characters. The bytes represent:

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


QUESTION 6:

What type of file is used for Java source files?


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