Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.function.ToDoubleBiFunction;

public class Main {

    public static void main(String[] args) {
        ToDoubleBiFunction<Integer, Long> i = (x, y) -> Math.sin(x) + Math.sin(y);

        System.out.println(i.applyAsDouble(Integer.MAX_VALUE, Long.MAX_VALUE));
    }
}