Multiple Choices
}
}
(Choose 1 answer)
public class Rand{
What will be the result when you attempt to compile this program?
public static void main(String argv[]){
int iRand;
iRand = Math.random();
System.out.println(iRand);
A. Compile time error referring to a cast problem
B. A random number between 1 and 10
C. A random number between 0 and 1
D. A compile time error about random being an unrecognised method