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 main(String[] args) {
        IntConsumer ic = (x) -> System.out.println(x);

        ic.andThen(ic).accept(3);

    }
}