(String[] args)
| 21 | static BiFunction<Integer, Integer, Integer> sumValues = (x, y) -> x + y; |
| 22 | |
| 23 | public static void main(String[] args) { |
| 24 | // Function types are invoked using the .apply() method on the interface |
| 25 | System.out.println(sayHello.apply("Dan")); |
| 26 | System.out.println(sumValues.apply(3, 2)); |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected