Programming - Input and Output
You Are Here :: Home > JAVA > Input and Output - General Questions
7. |
Which type of messages display's the system.err()?
|
A. |
special messages |
B.
|
normal messages |
C.
|
error messages
|
D.
|
none
|
|
Answer: Option C
Explanation:
system.err() is used to display error messages. |
|
8. |
What is input stream reader?
|
A. |
writes data through the keyboard |
B.
|
reads data from the keyboard |
C.
|
both a and b
|
D.
|
all the above
|
|
Answer: Option B
Explanation:
input stream reader reads data from the keyboard. |
|
9. |
What is Buffer Reader?
|
A. |
input Stream reader |
B.
|
stream reader |
C.
|
output stream reader
|
D.
|
both a and c
|
|
Answer: Option A
Explanation:
Buffer Reader is one type of input stream reader which accepts the data from the input stream reader. |
|
10. |
read() method cannot read more than____________.
|
A. |
two characters |
B.
|
one character |
C.
|
three characters
|
D.
|
four characters
|
|
Answer: Option B
Explanation:
read() cannot read more than one character. |
|
« prev