Java问题(待解决)----------面对对象
我的源代码
package pro2;
public class A062StudentClass {
//属性
int age;
String sname;
int id;
Computer comp;//计算机
//方法
void study() {
System.out.println("我在认真学习!"+comp.brand);
}
void play() {
System.out.p...
原创
2019-01-14 16:50:42 ·
209 阅读 ·
1 评论