Q154
What is the value of "d" in the following Java code snippet? double d = Math.round ( 2.5 + Math.random() );
A.
2
B.
3
AnswerC.
4
D.
2.5
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board