gcc/libjava/testsuite/libjava.lang/klass.java

11 lines
223 B
Java
Raw Normal View History

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));
}
}