Frage

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?

War es hilfreich?

Lösung

No. Enums are complete static enumeration.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top