public class Ball { <br /> public enum Color { RED, GREEN, BLUE }; <br /> public void foo() { <br /> // insert code here <br /> { System.out.println(c); } <br /> } <br /> } <br /> Which code inserted at line 14 causes the foo method to print RED, GREEN, and BLUE?() 
A、 for( Color c : Color.values())
B、 for( Color c = RED; c <= BLUE; c++)
C、 for( Color c; c.hasNext() ; c.next())
D、 for( Color c = Color[0]; c <= Color[2]; c++)
E、 for( Color c = Color.RED; c <= Color.BLUE; c++)