Question: ( b ) Given the following method declaration: public static double round ( double value ) { double result = value * 1 0 0
b Given the following method declaration:
public static double rounddouble value
double result value ; upscale the number
result Math.roundresult; round to nearest integer
return result ; downscale the number
What value does Java statement System.out.printround; display?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
