What is Enumerations object-oriented design pattern? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is Enumerations object-oriented design pattern?

The prof had asked us to search the net about details on Enumeration object-oriented design pattern, but I can't see anything in the net. If you do know, please do comment. Or if ever you know any website that discussed it.

7th Oct 2021, 2:26 AM
Ali Abdul
3 Answers
+ 1
You can implement an interface with an enum and follow the Strategy Pattern in less a static way. https://stackoverflow.com/questions/2709593/why-would-an-enum-implement-an-interface
7th Oct 2021, 3:45 AM
Kamen Studentov
Kamen Studentov - avatar
0
zemiak Hi, it says page not found
7th Oct 2021, 2:49 AM
Ali Abdul
0
perhaps he means Iterator pattern
7th Oct 2021, 4:22 PM
zemiak