• 2022-06-06
    下面程序输出的结果是( )。public class Test2{public static void main(String[] args) {double x = 2.2,y;y=Math.round(Math.pow(x, 2));System.out.println(y);}}
    A: 4
    B: 4.0
    C: 5
    D: 5.0