If I define the following class
public class SomeClass<T extends A> {..}
I of course can't define a variable this way - B
is unrelated class.
SomeClass<B> instance = new SomeClass<B>();
But this works:
SomeClass instance = new SomeClass();
What am I missing?