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