What Are Bounded Types?
What Are Bounded Types? If you just specify a type (class) as bounded parameter, only sub types of that particular class are accepted by the current generic class. These are known as bounded-types in generics in Java. What is a bounded generic type in Java? Bounded type parameters can be used with methods as well