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[] argv) throws Exception {
        Random rand = new Random();
        long seed = rand.nextLong();
        rand = new Random(seed);
        Random rand2 = new Random(seed);
    }
}