Which expression is compatible with the IntSupplier functional interface? A. () -> 1 <10 ? 3 :

Question:

Which expression is compatible with the IntSupplier functional interface? 

A. () -> 1<10 ? "3" : 4

B. () -> {return 1/0;}

C. () -> return 4

D. System.out::print

E. None of the above

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

Step by Step Answer:

Question Posted: