摘要:
public class Demo07 { public static void main(String[] args) { int a = 10; int b = 20; a+=b; //a=a+b //a-=b; a=a-b System.out.println(a); //字符串连接符 +,S 阅读全文
摘要:
逻辑运算符 package operator; //逻辑运算 public class Demo04 { public static void main(String[] args) { //与(and) 或(or) 非(not取反) boolean a = true; boolean b = fa 阅读全文
摘要:
public class Demo03 { public static void main(String[] args) { //整数拓展: 进制 二进制0b 十进制 八进制0 十六进制0x int i = 10; int i2 = 0b10; int i3 = 0x12; System.out.p 阅读全文