interface A> { } interface B> { } class C { void foo(A x){ A>> y = x; Object y1 = (A>>) x; } }