Enumerations: Why? When?

后端 未结 7 1093
梦如初夏
梦如初夏 2020-11-30 08:37

I am an almost-graduating computer science student, and throughout my coding career, I\'ve found very few instances where enumerations, except for canonical cases such as re

7条回答
  •  青春惊慌失措
    2020-11-30 08:47

    Default answer: all Java developer should definitively read Effective Java Second Edition. There is a chapter about enum

提交回复
热议问题