why static generic method should have<T> in front of return type

Viewed 2076

Why a generic static method have a in addition to return type, but a instance method not?

public class Main<T> {
    public  static <T> T met(T t) {
        return t;
    }

    public  T met1(T t) {
        return t;
    }
}
3 Answers
Related