Which of the following lambda expressions can be passed to a method that takes IntUnaryOperator as an

Question:

Which of the following lambda expressions can be passed to a method that takes IntUnaryOperator as an argument? (Choose three.) 

A. v -> {System.out.print("Hello!"); return 2%1;}

B. (Integer w) -> w.intValue()

C. (int

j) -> (int) 30L

D. (int q) -> q / 3.1

E. (long x) -> (int) x

F. z -> z.

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

Step by Step Answer:

Question Posted: