Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 3d12195697491b207ea998111e3f967b97a3dc1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package test0081;

class Y<T> {
	<T> Class foo(T t) {
		return t.getClass();
	}
}
public class X { 
	 
	public static void main(String[] args) { 
		Class c = new Y().foo(null);
	} 
}

Back to the top