What is the output of the following application? A. CatHat CatHat B. aCataHat HatCat C. The code

Question:

What is the output of the following application? 

image text in transcribed

A. CatHat CatHat

B. aCataHat HatCat

C. The code does not compile because the stream in concat1() returns an Optional.

D. The code does not compile for a different reason.

E. An exception is printed at runtime.

F. None of the above.

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

Step by Step Answer:

Question Posted: