\the above is not executing can anyone tell the reason.
import java.util.Random; class Randomnum { public static void main(String args[]) { int a; Random d=new Random(); for(int i=1;i<=10;i++) { a=d.nextInt(3); System.out.println("rabdom numbers--->"+a); } } }
Aucun commentaire:
Enregistrer un commentaire