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