What is the equivalent of this without using instanceof? Maybe something more simple while using true, false or else statements?
public static void p (Object...ar)
{
for (int i=0; i < ar.length; i++)
{
if (ar[i] instanceof int[])
{