문제

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?

도움이 되었습니까?

해결책

No. Enums are complete static enumeration.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top