Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.function.DoubleFunction;

public class Main {

    public static void main(String[] args) {
        DoubleFunction<String> df = (d) -> d + " is now a string";

        System.out.println(df.apply(0.5));

    }
}