value of a list java code example Example 1: how to get elements of a list in java Click to copyint num = list.get(0); Example 2: java string[] list get Click to copyjava string[] list get