3.3

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了3.3相关的知识,希望对你有一定的参考价值。

public class DataDemo03{
       public static void main(String[] args){
            int max=Integer.MAX_VALUE;
            System.out.println("整型的最大值:"+max);
            System.out.println("整型最大值+1:"+(max+1));
            System.out.println("整型最大值+2:"+(max+2L));
            System.out.println("整型最大值+2:"+((long)max+2));
       }
}技术分享

以上是关于3.3的主要内容,如果未能解决你的问题,请参考以下文章