1.Comparable接口Comparable接口: (1)java.lang包下的接口; (2)Comparable接口只有一个方法:int compareTo(T o)方法; 如: obj1.
確定! 回上一頁