84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
《java核心技术 卷1 基础知识 原书第8版》 12.8.1 P543页 这句话我有些不能理解,为什么接口泛型填入具体的类就成了它的父类了? 如果类型擦除就是Comparable接口啊,怎么会成为String的父类了呢?谁能解释一下呢?
欢迎选择我的课程,让我们一起见证您的进步~~
public final class String implements Serializable, Comparable<String>, CharSequence{ //.... }
String implements compareTo of Comparable interface; Does an interface count as the parent class of the interface implementation class?
String implements compareTo of Comparable interface;
Does an interface count as the parent class of the interface implementation class?