Wouter Oet wrote:I'm not sure what you're trying to accomplish. If you want to use an enum you should not create a class but an enum. The Oracle Java Tutorial section about enums can be found here.
I m trying to inherit legacy class implementing enum and adding functionality..