摘要: 完成:学习random类,random函数 编写自动出题程序 遇到问题:随机数不知道如何取到1~100; 不知道如何随机到4种结果来充当四种运算符; 不出现重复的随机数。 阅读全文
posted @ 2020-09-29 20:51 durtime 阅读(88) 评论(0) 推荐(0)
摘要: enum Size{SMALL,MEDIUM,LARGE};public class EnumTest { public static void main(String[] args) { Size s=Size.SMALL; Size t=Size.LARGE; System.out.printl 阅读全文
posted @ 2020-09-29 20:13 durtime 阅读(113) 评论(0) 推荐(0)