Angelika Langer GenericsFAQ - Can i use raw type as any other type?
问题 I am reading through documentation of AgelikaLangerDoc. I have just started reading this article. I have seen the following syntax in the code. interface Copyable<T>{ T copy(); } final class Wrapped<Elem extends Copyable<Elem>>{ } I am not able to understand the following generics syntax meaning. <Elem extends Copyable<Elem>> I know its pretty basic but really generics is tricky. Why do we need to put it like this? We could have said something ike final class Wrapped<Copyable<Elem>>{ } I know