How to generate a random number in java

int x = ((int) Math.random() * 100);

I'm trying to learn english, if you find some mistakes in my redaction, please make a comment with my error

No hay comentarios: