摘要: 命名规则 常量 大写字母 _ 类名 首字母大写 首字母小写 驼峰原则 作用域 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)