Hi friends,
I recently started learning java language. I have create two Enums in java as follows:
I also have one variable known as "followers" in a class Event. This variable must have value from above two Enums. Can anyone tell me which java enum should I give to the variable "followers"? Please help me to fix this problem.Code:enum Connectors { AND, OR, XOR; } enum Components { Other codes }
Thank you.
Bookmarks