What does the following code do?
The code creates an ArrayList<integer> called myList and adds the integers 50, 30, and 20 to it.
It then computes the sum of all the elements in myList using an enhanced for loop and prints it out with the message "Sum of all elements: ".
The output will be the sum of 50, 30, and 20, which is 100.</integer>