多选题
Given the following line of code, what lines below are valid? (Choose
all that apply.)
enum Sports {FOOTBALL, BASKETBALL, BASEBALL,
TRACK}
- A. Sports sport = FOOTBALL;
- B. Sports sport = Sports.FOOTBALL;
- C. Sports sport = Sports.HOCKEY;
- D. Sports sport = 'TRACK'