access an array via its index in java code example Example: how to get array index value into variable in java String zz = aa[5];