Variable parameter class?
arrays, class, java, variadic-functions
Solution
An `Object[]` array.
To get the runtime type information:
a.getClass().isArray() -> true
a.getClass().getComponentType().getName() -> java.lang.Object
Problem
The following code ``` public static void main(String[] args) { fun(new Integer(1)); } static void fun(Object ... a) { System.out.println(a.getClass()); } ``` gives the output :- ``` class [Ljava.lang.Object; ``` What class is this?