Java.lang Classes on Java related Questions and Answers

Question 2 : What is the value of ""d"" after this line of code has been executed?
double d = Math.round ( 2.5 + Math.random() )
1. 2
2. 3
3. 4
4. 2.5
View Answer   Discuss with Members


View 1 - 2 of 2 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter