class Person2{
private String name;
public Person2(String name){
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
class Students extends Person2{
public Students(String name) {
super(name);
}
}
class Stud implements Comparable<? super Students>{//<? super E> 在这里下限时会报错,可是毕老师 就是这么讲的啊 ? 不知道为什么 ?
public int compareTo(Students o) {
}
}
该贴已经同步到 b_boywindy的微博 |
|