摘要: 1..编写程序, 输入变量x的值,如果是1,输出x=1,如果是5,输出x=5,如果是 10,输出 x=10,除了以上几个值,都输出x=none。(知识点:if条件语句) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 package test3; import j 阅读全文
posted @ 2020-05-23 09:29 学习不错 阅读(85) 评论(0) 推荐(0) 编辑
摘要: package red; public class ColaEmployee { String name; int month; public ColaEmployee(){ } public ColaEmployee (String name,int month) { this.name=name 阅读全文
posted @ 2020-05-23 09:20 学习不错 阅读(110) 评论(0) 推荐(0) 编辑