Explain Wildcard Concept And Type of Wildcard in Java Generics
Explain Wildcard Concept And Type of Wildcard in Java Generics
In Java Generics, a Wildcard is represented by a ? or Question mark that resembles Unknown Type which is used to resolve incompatibility issue. Further, Wildcard can be used in various places such as, in form of the type parameter, field, as return type and local variable. It can’t be used to instantiate a generic class or invoke a generic method. In short, a wildcard concept provides a way to…
View On WordPress








