MCQOPTIONS
Saved Bookmarks
| 1. |
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» D. Create an OutputStreamReader object, passing the InputStream object as an argument to the OutputStreamReader constructor. | |