Naming of enums in Java: Singular or Plural?

Enums in Java (and probably enums in general) should be singular. The thinking is that you’re not selecting multiple Protocols, but rather one Protocol of the possible choices in the list of values.

Note the absence of plurals: http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)