McqMate
| 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 as 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 as an argument to the InputStreamReader constructor. | |
View all MCQs in
Java ProgrammingNo comments yet