New course! Every coder should learn Generative AI!
Try a free lesson0
Is it mandatory to type the semicolon at the end of the list? [click to see code]
public enum Color { RED, BLUE , GREEN; }
3 Answers
+ 2
Nope.
+ 1
no
0
No, It's not mandatory.
public enum Color { RED, BLUE , GREEN; }