摘要:
package operator;//逻辑运算符public class Demo05 { public static void main(String[] args) { // 与(and) 或(or) 非(取反) boolean a = true; boolean b = false; Syst 阅读全文
posted @ 2021-06-07 12:14
Leoyuan
阅读(46)
评论(0)
推荐(0)
摘要:
package operator;public class Demo04 { public static void main(String[] args) { //++ -- 自增,自减 一元运算符 int a = 3; int b = a++; //执行完这行代码后,先给b赋值,再自增 //a = 阅读全文
posted @ 2021-06-07 12:10
Leoyuan
阅读(54)
评论(0)
推荐(0)
摘要:
package operator;public class Demo01 { public static void main(String[] args) { //二元运算符 //Ctrl + D :复制当前行到下一行 int a = 10; int b = 20; int c = 25; int 阅读全文
posted @ 2021-06-07 11:18
Leoyuan
阅读(32)
评论(0)
推荐(0)

浙公网安备 33010602011771号