摘要:
package operator; public class Demo1 { public static void main(String[] args) { //二元运算符 //ctrl+d :复制当前行到下一行 int a = 10; int b = 20; int c = 25; int d 阅读全文
摘要:
public class Demo5 { public static void main(String[] args) { int i =128; double b = i;//内存溢出 //强制转换 (类名)变量名 高--低 //自动转换 低--高 System.out.println(i); S 阅读全文
摘要:
public class Demo3 { public static void main(String[] args) { //整数拓展 //进制 二进制0b 十进制 八进制0 十六进制0x int i = 10; int i1 = 010; int i2 = 0x10; System.out.pr 阅读全文