摘要: public class Demo15 { public static void main(String[] args) { /* 位运算 A = 0011_1100 B = 0000_1101 则 A&B = 0000_1100 (全1才1,非之则0) A|B = 0011_1101(全0才0,非 阅读全文
posted @ 2021-08-19 21:53 小风扇呜呜呜 阅读(94) 评论(0) 推荐(0)
摘要: public class Demo13 { public static void main(String[] args) { //与(and) 或(or) 非(取反) boolean a = true; boolean b = false; System.out.println("a && b :" 阅读全文
posted @ 2021-08-19 21:27 小风扇呜呜呜 阅读(78) 评论(0) 推荐(0)
摘要: public class Demon12 { public static void main(String[] args) { int a = 3; int b = a++; System.out.println(a); int c =++a; System.out.println(a); Syst 阅读全文
posted @ 2021-08-19 14:03 小风扇呜呜呜 阅读(374) 评论(0) 推荐(0)
摘要: import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;import org.w3c.dom.ls.LSOutput;public class Demo03 { public static void main(String[] args) { 阅读全文
posted @ 2021-08-19 11:39 小风扇呜呜呜 阅读(29) 评论(0) 推荐(0)
摘要: import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;import org.w3c.dom.ls.LSOutput;public class Demo03 { public static void main(String[] args) { 阅读全文
posted @ 2021-08-19 11:21 小风扇呜呜呜 阅读(99) 评论(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 d = 阅读全文
posted @ 2021-08-19 09:02 小风扇呜呜呜 阅读(24) 评论(0) 推荐(0)