What is the output of the following method applied to an InputStream that contains the first four

Question:

What is the output of the following method applied to an InputStream that contains the first four prime numbers, stored as bytes: 2, 3, 5, 7? 

image text in transcribed

A. 5

B. 7

C. The code does not compile.

D. The code compiles but throws an exception at runtime.

E. The result cannot be determined until runtime.

F. None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: