Match the functional interfaces with suitable lambda expressions or method references.
Standard functional interfaces
Interface matching
Report a typo
Match the items from left and right columns
IntSupplier
Consumer<String>
BiPredicate<Integer, Integer>
DoubleUnaryOperator
Function<Double, String>
(x) -> String.valueOf(x * x)
System.out::println
Math::sin
(x, y) -> x % y == 0
() -> 3
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.