摘要:
day10 Break package structure; public class BreakDemo { public static void main(String[] args) { int i = 0; while (i<100){ i++; System.out.println(i); 阅读全文
摘要:
day09 While循环 package structure; public class WhileDemo01 { public static void main(String[] args) { //输出1-100 int i = 0; while (i<100){ i++; System.o 阅读全文
摘要:
day05 变量 变量定义:只能以大小写字母、$、_开头定义。 变量转换 低 --> 高:byte,short,char --> int --> long --> float -->double 强制转换:高容量向低容量转换,(类型)变量名 int i = 128; byte b = (byte)i 阅读全文