I think B is the right answer. The IntFunction needs to take an IntUnaryOperator, which is a functional interface that takes an int and returns an int.
The correct answer is D. We need to use the applyAsInt() method since the IntFunction is expecting an Integer parameter, not a UnaryOperator or IntUnaryOperator.
The correct answer is D. We need to use the applyAsInt() method since the IntFunction is expecting an Integer parameter, not a UnaryOperator or IntUnaryOperator.
Jame
1 months agoRusty
1 months agoMabelle
1 months agoLauna
1 days agoDonette
3 days agoXuan
2 months agoShaquana
15 days agoIvette
18 days agoMargret
21 days agoArthur
1 months agoRemedios
2 months agoNydia
3 months agoKeith
3 months ago