interface Generic { T foo(); } class II implements Generic { public Object foo() { return null; } }