6 years ago in java.lang Package

Which of the following will compile correctly?


[A] System.out.println(Math.max(x));
[B] System.out.println(Math.random(10,3));
[C] System.out.println(Math.round(20));
[D] System.out.println(Math.sqrt(10));
Loading...
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 121
Correct 18
Incorrect 50
Viewed 53

Answers

Guest
Guest
Bharath
Bharath - 9 months ago

Bharath from Hyderabad, India is saying System.out.println(Math.sqrt(10)); is correct answer

shubham adne
shubham adne - 11 months ago

shubham adne from Pune, India is saying System.out.println(Math.sqrt(10)); is correct answer

Shamsa hafeez
Shamsa hafeez - 1 year ago

Shamsa hafeez from Lahore, Pakistan is saying System.out.println(Math.sqrt(10)); is correct answer

bruh
bruh - 1 year ago

bruh from Guwahati, India is saying System.out.println(Math.sqrt(10)); is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 year ago

Vaibhav Bisht from Dehradun, India is saying System.out.println(Math.sqrt(10)); is correct answer

Related Questions