previous | start | next

Wildcard Types

Name Syntax Meaning
Wildcard with lower bound ? extends B Any subtype of B
Wildcard with upper bound ? super B Any supertype of B
Unbounded wildcard ? Any type


previous | start | next