摘要: terminate 终端 disconnect 断开连接 click 点击 jump 跳 footnote 脚注 definition 定义 阅读全文
posted @ 2021-10-06 09:57 clown-lan 阅读(226) 评论(0) 推荐(0)
摘要: 输出时连接符+ public class Demo4 { public static void main(String[] args) { int a=10; int b=12; System.out.println(""+a+b); //1012 System.out.println(a+b+"" 阅读全文
posted @ 2021-10-06 09:56 clown-lan 阅读(16) 评论(0) 推荐(0)
摘要: 运算符优先级 一级 二级 . [] () ! ~ ++ -- 三级 4级 5级 % * / + - << >> 6级 7级 < > <= > != 8级 9级 10级 & ^ | 11级 12级 13级 && || ?: 14级 = += -= 从右向左 二级 13级 14级 阅读全文
posted @ 2021-10-06 09:30 clown-lan 阅读(31) 评论(0) 推荐(0)
摘要: ctrl+d 复制当前行到下一行 运算时 short+byte=int 自加 int a=3;int b=a++;int c=++a;//a=5,b=3,c=5 幂运算 double pow=Math.pow(3,2); 短路运算 int c=3;boolean b=(c>4)&&(c++<4);/ 阅读全文
posted @ 2021-10-06 09:18 clown-lan 阅读(48) 评论(0) 推荐(0)
摘要: 命名规则 常量 大写字母 _ 类名 首字母大写 首字母小写 驼峰原则 作用域 public class Demo3 {​ //类变量 //修饰符,不存在先后顺序 static final char PI='a'; final static char PI2='b';​ //实例变量 从属于对象 // 阅读全文
posted @ 2021-10-05 22:20 clown-lan 阅读(30) 评论(0) 推荐(0)
摘要: Demo2 public class Demo2 { public static void main(String[] args) { int a=10; //10进制-10 int b=010; //8进制-8 int c=0x10; //16进制-16 System.out.println(a) 阅读全文
posted @ 2021-10-05 21:37 clown-lan 阅读(26) 评论(0) 推荐(0)
摘要: demo 演示 flag 国旗 editor 编辑器 occurrences 发生 search for text occurrences 搜索文本事件 comments 评论 search in comments and strings 在注释和字符串中搜索 preview 预览 refactor 阅读全文
posted @ 2021-10-05 21:11 clown-lan 阅读(36) 评论(0) 推荐(0)
摘要: public class Hello { public static void main(String[] args) { System.out.println("helllo world"); /*注释 */ }} public class Demo1 { public static void m 阅读全文
posted @ 2021-10-05 21:10 clown-lan 阅读(16) 评论(0) 推荐(0)
摘要: 卸载 卸载java安装目录 删除java_home 删除path java -version 安装 阅读全文
posted @ 2021-10-05 20:28 clown-lan 阅读(13) 评论(0) 推荐(0)
摘要: 常用命令 英文符号 切换盘符 cd /d F:\user\mosimeng 返回上一级 cd .. 清理屏幕 cls 查看当前目录的文件 dir ping命令 ping www.baidu.com 本地ip ipconfig 阅读全文
posted @ 2021-10-05 17:16 clown-lan 阅读(14) 评论(0) 推荐(0)