摘要: 运算符 %:取余 模运算 != :不等于 package operator; ​ public class Demo01 { public static void main(String[] args) { //二元运算 //ctrl + D :复制当前行到下一行 int a = 10; int b 阅读全文
posted @ 2020-12-28 14:14 夏天的素颜 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 变量作用域 类变量 实例变量 局部变量 public class Demo07 { public static void main(String[] args) { //int a,d,c; // int a=2,b=3,c=3; //程序可读性 String name ="xiatiandesuy 阅读全文
posted @ 2020-12-28 13:38 夏天的素颜 阅读(33) 评论(0) 推荐(0) 编辑