Activity 9.1.1.
The mixed up code below includes the correct code for the class, a field, a constructor, and the
getNext method. In the constructor it will create an ArrayList and fill it by looping through the array and adding each string to the list. In the getNext method, if the list length is greater than zero, it will pick a position at random in the list and remove the item from that position and return it. Otherwise, if the list is empty, it returns βNONEβ. The blocks have been mixed up and include extra blocks that arenβt needed in the solution. Drag the needed blocks from the left and put them in the correct order on the right. Click the Check button to check your solution.

