java.lang.random code example
Example 1: random java
import java.util.Random();
Random <name> = new Random();
<variable> = <name>.nextInt(<excuslive top limit>);
Example 2: java random
int nombreAleatoire = Min + (int)(Math.random() * ((Max - Min) + 1));