How do you find the upper bound and lower bound in Java?

Upper bound wildcard − If a variable is of in category, use extends keyword with wildcard. Lower bound wildcard − If a variable is of out category, use super keyword with wildcard. Unbounded wildcard − If a variable can be accessed using Object class method then use an unbound wildcard.

INTERESTING:  Do I need a Java SE subscription?
Categories BD