JAVA作业

/*编写一个手机类(Mobile),包括手机品牌(brand)、手机型号(type), * 方法包括显示手机信息,并编写测试类进行对象的创建*/ package cyff; public class Mobile {// 定义Mobile类 String brand, type;// 成员变量 public void information() {// 成员方法 System.out.printl
相关文章
相关标签/搜索