在myeclipse中写代码和eclipse中不一样吗
package com.imoc;
public class Telphone {
//属性(成员变量)
float screen;
float cpu;
float men;
void call(){
System.out.println("有打电话功能");
}
void sendMessage(){
System.out.println("发短信功能");
}
}
显示错误信息
System cannot be resolved
package com.imoc;
public class Telphone {
//属性(成员变量)
float screen;
float cpu;
float men;
void call(){
System.out.println("有打电话功能");
}
void sendMessage(){
System.out.println("发短信功能");
}
}
显示错误信息
System cannot be resolved
2016-12-08
举报