First, the effect is as follows
package test_20190808_001; public class test_20190808_001 { public static void main(String args[]) { int max = Integer.MAX_VALUE;//最大值 int min = Integer.MIN_VALUE;//最小值 System.out.print(max); System.out.print("|"); System.out.println(min); } }