摘要: += -= *= /= += public class Demo6 { public static void main(String[] args) { int a = 50; int b = 40; System.out.println(a+=b);//90 }}​ -= public class 阅读全文
posted @ 2021-03-01 15:54 默默努力的路人甲 阅读(40) 评论(0) 推荐(0)
摘要: 逻辑运算符 &&与运算符,同为true结果为true public class Demo5 { public static void main(String[] args) { boolean a = true; boolean b = false; boolean c = true; System 阅读全文
posted @ 2021-03-01 12:53 默默努力的路人甲 阅读(48) 评论(0) 推荐(0)