how to get values out of a java list code example Example: java string[] list get java string[] list get