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