Integer---Test

public class IntegerTest {

	public static void main(String[] args) {
		// TODO 自动生成的方法存根

		short a1 = 32767;
		System.out.println(a1);

		int b1 = 2147483647;
		System.out.println(b1);

		long c1 = 1000000000000L;
		System.out.println(c1);

		long c2 = 2147483647;
		System.out.println(c2);

		long c3 = 2147483648L;
		System.out.println(c3);

	}

}

21.08.03

posted @ 2021-08-03 09:55  toumaoyu  阅读(34)  评论(0)    收藏  举报