A good answer might be:Two bytes. For ease in doing IO, booleans are represented using one byte (look at the documentation). |
High Bytes and Low Bytes
The documentation for several of the methods
uses the terms "low byte" and "high byte".
These are used when a data type uses
more than one byte.
The low byte is the byte that
holds the
least significant part of an integer.
If you think in terms of writing a bit pattern
on paper, the low byte is the
rightmost eight bits.
A 01001010 00001111
The low order byte is 00000000 00000000 00000000 01100010
If this For the most part you don't need to think about this unless you are doing serious systems programming. A course in assembly language or computer architecture will say much more about bit patterns. |
QUESTION 11:How many bytes are written by the following: Click Here after you have answered the questionout.writeInt( 0 ); out.writeDouble( 12.45 ); |