math.io library in java code example
Example 1: math class in java
double random = Math.random();
// chooses random number between 0 and 1 ( * 100 to make it in 100)
Example 2: math class in java
int max = Math.max(10, 20);
//returns largest of two value in parameter