MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / main

Method main

Programs/FunctionalInterfaces.java:23–27  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected