摘要: package com.cheng; import java.util.Random; import java.util.Scanner; public class Demo04 { static Scanner sc = new Scanner(System.in); // 生成好的验证码方法 public static void yanZhengma() { ... 阅读全文
posted @ 2019-07-30 22:05 AxeBurner 阅读(1484) 评论(0) 推荐(0) 编辑
摘要: package zuoye; public class PhoneNum { public static void phone() { String first = "1"; String a = ""; for (int i = 0; i < 3; i++) { int random = (int) (M... 阅读全文
posted @ 2019-07-30 21:15 AxeBurner 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 枚举类 阅读全文
posted @ 2019-07-30 18:43 AxeBurner 阅读(255) 评论(0) 推荐(0) 编辑
摘要: package com.chen; //菜单类 public class Menu { // 属性 序号 菜品名 单价 点赞数 private int num; private String name; private double price; private int zan; public int getNum() { return num; } public... 阅读全文
posted @ 2019-07-30 11:25 AxeBurner 阅读(369) 评论(0) 推荐(0) 编辑