What does the following code snippet demonstrate?
enum Color {RED, GREEN, BLUE}; Color favoriteColor = Color.GREEN;
Defines a method named Color
Color
Declares a variable favoriteColor of the type String
favoriteColor
String
Creates an enum named Color with possible values RED, GREEN, BLUE
RED
GREEN
BLUE
Assigns the integer value of GREEN to favoriteColor