Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.function.IntConsumer;

public class Main {
    public static void start(IntConsumer cons, int d) {
        cons.accept(d);
    }

    public static void main(String[] args) {
        start(e -> System.out.print("Release year: " + e), 2013);
    }
}