is object an Array - Android java.lang

Android examples for java.lang:Array Element

Description

is object an Array

Demo Code


//package com.java2s;

public class Main {

    public static boolean isArray(Object object) {
        return object.getClass().isArray();
    }/*from w ww . j a v  a2 s.  com*/
}

Related Tutorials