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