This code uses the Random class to generate a random number up to 100.
You can change the 100 value to any interger you wish.
import java.util.*;
public class RandomNumber {
...
Type: Posts; User: JavaPF
This code uses the Random class to generate a random number up to 100.
You can change the 100 value to any interger you wish.
import java.util.*;
public class RandomNumber {
...