有容乃大——Java

有容乃大

http://www.nowcoder.com/questionTerminal/4712159bbc15417086d40d6c6ff94fee

答案:

public class Main
{
    public static void main(String[] args)
    {
        System.out.println("The size of short is " + Short.SIZE/8 + " bytes.");
        System.out.println("The size of int is " + Integer.SIZE/8 + " bytes.");
        System.out.println("The size of long is " + Long.SIZE/8 + " bytes.");
        System.out.println("The size of long long is " + Long.SIZE/8 + " bytes.");
    }
}
全部评论

相关推荐

joe2333:怀念以前大家拿华为当保底的日子
点赞 评论 收藏
分享
评论
点赞
收藏
分享
牛客网
牛客企业服务