ILS 等级:
import java.util.Scanner;
class iLs {
private String name;
private String section;
private double one;
private double two;
private double three;
private double four;
private double genave;
public iLs(String name, String section, double one, double two, double three, double four, double genave){
this.name = name;
this.section = section;
this.one = one;
this.two = two;
this.three = three;
this.four = four;
this.genave = genave;
}
public void setName(String name){
this.name = name;
}
public void setSection(String section){
this.section = section;
}
public void setOne(String one){
this.one = one;
}
public void setTwo(String two){
this.two = two;
}
public void setThree(String three){
this.three = three;
}
public void setFour(String four){
this.four = four;
}
public void setGenave(String genave){
this.genave = genave;
}
public String getName(){
return name;
}
public String getSection(){
return section;
}
public double getOne(){
return one;
}
public double getTwo(){
return two;
}
public double getThree(){
return three;
}
public double getFour(){
return four;
}
public double getGenave(){
return genave;
}
}
起初,我没有公开课,所以要求的程序需要公开课。但是当我这样做时,这发生了,error: class, interface, or enum expecte
帮助!!!
我不知道该怎么做,而且我对计算机编程还很陌生。
一只斗牛犬
达令说
料青山看我应如是
相关分类