Java tutorial
import java.util.function.DoubleBinaryOperator; public class Main { public static void main(String[] args) { DoubleBinaryOperator d = (x, y) -> x * y; System.out.println(d.applyAsDouble(0.23, 0.45)); } }