Getting the Component Type of an Array The component type of an array is the type of an array's elements. For example, the component type of int[] is int. The component type of int[][] is int[]. object.getClass().getComponentType();