摘要:
public class Student implements Comparable{ int stuno; String name; int score; public int getStuno() { return stuno; } public void setStuno(int stuno) { this.stuno = stuno; } public Strin... 阅读全文
摘要:
public class Student { String name; int age; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return age; } public voi... 阅读全文
摘要:
import java.util.ArrayList; import java.util.Collections; import java.util.List; public class zuqiudui { public static void main(String[] args) { List list=new ArrayList(); Collections... 阅读全文