1. What is a bit (bit), what is a byte (byte), what is a character (Char), what is the length of it, what is the difference
1 "bit the smallest binary unit, is the computer operating part of the value of 0 or 1
2 "Byte is the smallest unit of computer operation data is composed of 8 bit bits (-128-127)
3 "Char is the smallest unit of user's readable and writable, and in Java it is composed of 16 bit bits (0-65535)
Bit is the smallest unit computer can only recognize 0 or 1
8bit is a byte is for the computer to see
Character is seeing something a character = two bytes
===============================================================
2. What is a stream, according to the unit of transmission, into which two streams, and what their parent class is called Stream refers to the transmission of data
1 "stream is divided into Word stream and character stream
2 "byte stream inheritance InputStream and OutputStream
3 "character stream inherits from Inputsteamreader and OutputStreamWriter
===============================================================
3. The flow according to the direction of transmission can be divided into which two, respectively, to illustrate
1 "input and output relative to program
2 "input stream InputStream
3 "Output stream OutputStream
===============================================================
4. According to the implementation of the function is divided into which two, respectively, illustrate
1 in accordance with the implementation of the function is divided into "node flow" "Processing flow"
2 "node stream: OutputStream
3 "Processing flow: OutputStreamWriter
===============================================================
===============================================================
===============================================================
===============================================================
===============================================================
===============================================================
===============================================================
"Interview IO" 11th Java IO