In this post, we will discuss the Java enum naming conventions with examples.
Read complete Java naming conventions at https://www.javaguides.net/2018/08/java-standard-naming-conventions.html.
Read complete Java naming conventions at https://www.javaguides.net/2018/08/java-standard-naming-conventions.html.
Enumeration naming conventions
Enum Class members should be spelled out in upper case words, separated by underlines. Example:
public enum Day { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY; }
Comments
Post a Comment