Skip to main content
summaryrefslogtreecommitdiffstats
blob: 7d4d55cae4a6487ca13e8a9828f91a0305b9353f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package p;

import java.util.Vector;

public class A {
    public <T> T f1(T l) {
        Vector<T> v = new Vector<T>();
        v.add(l);
        return v.get(0);
    }
}

Back to the top