blob: 1578e6f4240617f7233bda073a35870b5cef8361 (
plain)
1
2
3
4
5
6
7
8
9
10
|
public class klass
{
public static void main (String[] args)
{
Class ic1 = Integer.TYPE;
int[] foo = new int[3];
Class ic2 = foo.getClass().getComponentType();
System.out.println(ic1.equals(ic2));
}
}
|