What does the following Java code segment output?
int randomValue = (int)(Math.random() * 10);
System.out.println(randomValue);
What does the following Java code segment output?
int randomValue = (int)(Math.random() * 10);
System.out.println(randomValue);