Getting the Component Type of an Array Object
public class Main { public static void main(String[] argv) throws Exception { Object o = new int[1][2][3]; o.getClass().getComponentType(); } }