package generic_out; public class TestMethodInstance2 { String bar() { String t= null; return t; } private <T> T foo() { T t= null; return t; } }