1.

What is the value of "d" after this line of code has been executed?

double d = Math.round ( 2.5 + Math.random() );

A. 2
B. 3
C. 4
D. 2.5
Answer» C. 4


Discussion

No Comment Found

Related MCQs