摘要: 定义一个笔记本类,该类有颜色(char)和cpu型号(int)两个属性。 [必做题]• 3.2 输出笔记本信息的方法• 3.3 然后编写一个测试类,测试笔记本类的各个方法 package test2; public class Notebook { char color; int cpu; publ 阅读全文
posted @ 2020-04-23 12:00 可爱小刘没脑袋 阅读(122) 评论(0) 推荐(0) 编辑