User:Adwiii/rand.js

\\ import java.util.Random;

class RandNum { public static void main(String[] args) { Random dice= new Random; int number; for(int counter=1; counter<=1;counter++){ number =1+dice.nextInt(6); System.out.println(number + " "); }	} } \\