package exer1;
import javax.xml.transform.Templates;
import org.omg.CORBA.PUBLIC_MEMBER;
public class StudentTest {
public static void main(String[] args) {
}
public void sort(Student[] stus){
for(int i=0;i<stus.length-1;i++){
for(int j=0;j<stus.length-1-i;j++)
// if(stus[j].score>stus[j+1].score){
Student tem = stus[j];//这个位置报错是为啥呢
// }
}
}
}
class Student{
int number;
int state;
int score;
public String info(){
return "学号:"+number + ",年级:"
+ state +",成绩"+score;
}
}