Home Java Introduction Classes Decisions Loops Access Inheritance Inner Classes Arrays Exceptions Strings Generics Container Input/Output MultiThreading jdk8 Books

Generics


Contents

Wild Card

We can write:
	List list1
This 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