how to get a valure from a list in java code example Example: java string[] list get java string[] list get