JavaPatternMatching/resources/AllgemeinTest/Wildcard_Andi.jav

9 lines
109 B
Java

class Wildcard_Andi {
Test<? extends A> ex = new Test<>();
Test<? super A> sup = new Test<>();
}