Generic Programming

Lecture 6

Lecture notes

Container with subtyping example: Java

Container with generics example: Java

Container with generic interface example: Java

Animals in a cage - subtyping of generics example: Java