M

Mr. Dubey • 52.46K Points
Coach

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.
  • Correct Answer - Option(C)
  • Views: 95
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics