package test; public class TestCalc { public static void main(String[] args) { System.out.println(6/4); System.out.println(6%4); int i=8; int j=i++ +2; int m=8; int k=++m +2; System.out.println(j); System.out.println(k); } }
package test; public class TestCalc { public static void main(String[] args) { System.out.println(6/4); System.out.println(6%4); int i=8; int j=i++ +2; int m=8; int k=++m +2; System.out.println(j); System.out.println(k); } }
转载于:https://www.cnblogs.com/xiaotaoxu/p/5536261.html