Question: Which expression is compatible with the IntSupplier functional interface? A. () -> 1 <10 ? 3 : 4 B. () -> {return 1/0;} C. ()
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
Step by Step Solution
There are 3 Steps involved in it
The IntSupplier functional interface in Java is a special kind of functional interface that doesnt t... View full answer
Get step-by-step solutions from verified subject matter experts
