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