A good answer might be:

No. The format used for integers is different on the two computers. To read the file, the PC-based program will have to do byte-oriented input and bit manipulation to change the data into the format used on a PC.

IO Class Hierarchy

The diagram shows the top of the hierarchy for the java.io package. The dotted clouds are abstract classes. They act as base classes for specialized streams (to be discussed shortly).

There are two main divisions of streams, byte-oriented and character-oriented. Within each of these divisions are input streams and output streams.

  1. Byte-oriented streams.
    • Used for general-purpose input and output.
    • Data may be primitive data types or raw bytes.
  2. Character-oriented streams.
    • Specialized to handle character data.
    • Transforms data from/to 16 bit Java char used inside programs to UTF format used externally.

QUESTION 7:

Is a Reader an input stream or an output stream?

Click Here after you have answered the question