java 重寫compareTo方法實現類排序

class expert implements Comparable<expert> { private int age; public expert(int age) { this.age = age; } public int getAge() { return age; } public v
相關文章
相關標籤/搜索