摘要:
package operator; public class Demo4 { public static void main(String[] args) { //++自增 --自减 一元运算符 int a = 6; int b = a++;//执行完代码,先给b赋值,再自增 //a=a+1 Sys 阅读全文
摘要:
package operator; public class Demo3 { public static void main(String[] args) { //关系运算输出为布尔值:正确、错误 int a =5; int b =10; int c = 12; //取余,模运算 System.ou 阅读全文