No. Enums are complete static enumeration.
add value to enum java
-
23-09-2022 - |
Question
I have an enum in class file which is in jar file.
public static enum test{
Test, Test1;
}
Now I want to add an new value to this enum.So How can add new value from my custom class?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow