下面的代码为什么报错呢?
public class Telphone {
private float screen;
private float cpu;
private float mem;
public float getScreen(){
return screen;
public void getScreen(float newScreen){
screen=newScreen;
}
}}
public class Telphone {
private float screen;
private float cpu;
private float mem;
public float getScreen(){
return screen;
public void getScreen(float newScreen){
screen=newScreen;
}
}}
2016-12-01
举报