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