Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.Random;

public class Main {
    public static void main(String args[]) {

        Random randomno = new Random();

        // check next Gaussian value  
        System.out.println("Next Gaussian value: " + randomno.nextGaussian());
    }
}