多选题

Given the following co...

发布于 2022-03-03 17:31:17

Given the following code fragment,  which of the following expressions is always true:(单选)

public class Test {
    public static void main(String[] args) {
        double i1 = 1024D * 1024 * 1024 * 1024
        double i2 = 1024L * 1024 * 1024 * 1024
        double i3 = (long) 1024 * 1024 * 1024 * 1024
        double i4 = (double) 1024 * 1024 * 1024 * 1024
        double i5 = 1024 * 1024 * 1024 * 1024
        System.out.println(i1)
        System.out.println(i2)
        System.out.println(i3)
        System.out.println(i4)
        System.out.println(i5)
    }
}

登录后免费查看答案
关注者
0
被浏览
25
知识点
面圈网VIP题库

面圈网VIP题库全新上线,海量真题题库资源。 90大类考试,超10万份考试真题开放下载啦

去下载看看