Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.stream.IntStream;

public class Main {

    public static void main(String[] args) throws Exception {

        IntStream.builder().add(1).add(3).add(5).add(7).add(11).build().average().ifPresent(System.out::println);
    }
}