Q. What is the value of "d" in the following Java code snippet?
double d = Math.round ( 2.5 + Math.random() );
β
Correct Answer: (B)
3