Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

// random number between 0 AND 10
import java.util.Random;

public class Main {
    public static void main(String[] argv) {
        Random r = new Random();
        int randint = r.nextInt(10);
        System.out.println(randint);
    }
}