Professional Documents
Culture Documents
Wildcard
Wildcard
Practical no: 3
Aim: WAP to demonstrate the concept of Wildcards (UNBOUND, UPPERBOUND, LOWERBOUND).
Objective:
1) Understanding of wildcards concepts.
2) Implementation of Unbound Wildcard.
3) Implementation of UpperBound Wildcard.
4) Implementation of LowerBound Wildcard.
CODE:
package wildcard_project;
import java.util.Arrays;
import java.util.List;
Output: