Java Generics: List, List<Object>, List<?>

后端 未结 12 2000
你的背包
你的背包 2020-11-22 17:08

Can someone explained, as detailed as possible, the differences between the following types?

List
List
List


Let me m

12条回答
  •  被撕碎了的回忆
    2020-11-22 17:48

    I refer you to the excellent Java Generics tutorial, and the "advanced" Generics tutorial, both available from Sun Microsystems. Another great resource is the Java Generics and Collections book.

提交回复
热议问题