摘要: public enum ShopTypeEnum { meituan("16", "可以"), meituanfood("8", "不可以"), eleme("9", "还行"), elemestar("10", "不行"); private final String code; private f 阅读全文
posted @ 2021-07-15 15:30 Bonnie_ξ 阅读(69) 评论(0) 推荐(0)
摘要: 1.if..else public int calculate(int a, int b, String operator) { int result = Integer.MIN_VALUE; if ("add".equals(operator)) { result = a + b; } else 阅读全文
posted @ 2021-07-15 10:15 Bonnie_ξ 阅读(67) 评论(0) 推荐(0)
摘要: 1、top 相当于Windows任务管理器 可以看到,输出结果分两部分,前5行是总览,下面是具体的进程资源占用情况。下面逐行看一下 第1行 top - 18:14:58 up 112 days, 1:35, 1 user, load average: 0.00, 0.10, 0.11 依次表示:当前 阅读全文
posted @ 2021-07-15 09:19 Bonnie_ξ 阅读(99) 评论(0) 推荐(0)
摘要: 1.启动VMware的画面 2.点击File >New Virtual Machine 创建一台新虚拟机 3.在弹出框中选择典型安装 4.选择I will install the operating system later.(稍后安装系统) 5.选择引导系统是Linux并选择系统版本是CentOS 阅读全文
posted @ 2021-07-15 08:49 Bonnie_ξ 阅读(40) 评论(0) 推荐(0)