A

Admin • 828.03K Points
Coach

Q. Which of the following code retrieves the body of the request as binary data?

  • (A) DataInputStream data = request.fetchInputStream()
  • (B) DataInputStream data = new InputStream()
  • (C) DataInputStream data = response.getInputStream()
  • (D) DataInputStream data = request.getInputStream()
  • Correct Answer - Option(D)
  • Views: 13
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
InputStream is an abstract class. getInputStream() retrieves the request in binary data.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.