how to access elements of a list in java code example Example: java string[] list get java string[] list get