10 Generics Flashcards
1
Q
It associate one or more non-specified Java types upon creation.
A
Generic types (or generics)
2
Q
It represents an unknown type and is specified by the question mark.
A
wildcard argument
3
Q
What are the two (2) categories under wildcards?
A
unbounded wildcard and bounded wildcard
4
Q
It can be used to represent any type.
A
<?> or unbounded wildcard
5
Q
It restricts the unknown type to be a specific type or a subtype of that type.
A
upper bounded wildcard
6
Q
It restricts the unknown type to be a specific type or super type of that type.
A