read element from an array in java -
i have instance of object class (e.g. obj).
by using obj.getclass().isarray() can confirm array.
now want access elements of array (like obj[0] or that). possible so?
please help
simply cast object array.
(object[])obj[0];
Comments
Post a Comment