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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -