In Java it's prohibited too... ``` class Wrapper&l...
# getting-started
m
In Java it's prohibited too...
Copy code
class Wrapper<A, B extends Something<A>> {
    void inPosition(B b) {}
    B outPosition() { throw null; }
}
interface Something<A> {}
class ConcreteSomething<A> implements Something<A> {}

class UseCase {
    Wrapper<?, ? extends ConcreteSomething<?>> w = new Wrapper<String, ConcreteSomething<String>>();
    //           ^ olny this way
}