Generics
Contents
Wild Card
We can write:List> list1This means that the "list1" has a type but we don't know what type it is. We can write a statement such as:
List< ? > list1
Contents
List> list1This means that the "list1" has a type but we don't know what type it is. We can write a statement such as:
List< ? > list1