Answer (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. A random number between 1 and 10
B. A random number between 0 and 1
C. A compile time error about random being an unrecognised method
D. Compile time error referring to a cast problem
Exit 2