There are two ways.
One is to test if an object is an array of any type:
The second one can be used if you want to test for a specific type of array:
This works because all arrays are objects themselves, and so they can be used wherever objects can be used.
Similarly, just as you can use Object.class or String.class to get the Class object for "String", you can use int[].class to get the Class object for "array of int", and even complex stuff like
String[][][].class.