Why we allow enum member of enum member in Java – stackoverflow.com

Given the following enum enum Repeat { Daily, Weekly, Yearly } I realize we are able to write it this way Repeat repeat = Repeat.Daily.Weekly.Yearly.Weekly; which is equivalent to ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Why we allow enum member of enum member in Java – stackoverflow.com"