What is the value of 'd' after this line of code has been executed?double d = Math.round ( 2.5 Math.random() ); - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
14 Mar 2023 10:38 AM study24x7 study24x7

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

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles