Q.

How do you create a Reader object from an InputStream object?

A. Use the static createReader() method of InputStream class
B. Use the static createReader() method of Reader class
C. Create an InputStreamReader object passing the InputStream object and an argument to the InputStreamReader constructor.
D. Create an OutputStreamReader object, passing the InputStream object as an argument to the OutputStreamReader constructor.
Answer» C. Create an InputStreamReader object passing the InputStream object and an argument to the InputStreamReader constructor.
1.3k
0
Do you find this helpful?
1

View all MCQs in

Java Programming

Discussion

No comments yet