import java.lang.*; public class MathDemo { public static void main(String[] args) { //what is Math.round(3.45) double x = 3.45; System.out.println("Math.round(" + x + ")=" + Math.round(x)); } } //the Output is 3