0_0_31930129_24551\Main.java:51: 错误: 需要class, interface或enum
private int num; //编号 private String doctor = null;//医生的编号这里就是(1,2,3)
^
0_0_31930129_24551\Main.java:52: 错误: 需要class, interface或enum
private String Priority = null; //优先级(根据题目给的)
^
0_0_31930129_24551\Main.java:54: 错误: 需要class, interface或enum
public patient(int num, String doctor, String priority) {
^
0_0_31930129_24551\Main.java:56: 错误: 需要class, interface或enum
this.doctor = doctor;
^
0_0_31930129_24551\Main.java:57: 错误: 需要class, interface或enum
Priority = priority;
^
0_0_31930129_24551\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_31930129_24551\Main.java:59: 错误: 需要class, interface或enum
public int getNum() { //获取病人编号
^
0_0_31930129_24551\Main.java:60: 错误: 需要class, interface或enum
return num; }
^
0_0_31930129_24551\Main.java:61: 错误: 需要class, interface或enum
public String getDoctor() { //获取医生编号
^
0_0_31930129_24551\Main.java:62: 错误: 需要class, interface或enum
return doctor; }
^
0_0_31930129_24551\Main.java:63: 错误: 需要class, interface或enum
public String getPriority() {
^
0_0_31930129_24551\Main.java:66: 错误: 需要class, interface或enum
}
^
12 个错误
|