how to create a static enum with a value that has a hypen symbol in java?

Posted by coder on Stack Overflow See other posts from Stack Overflow or by coder
Published on 2010-03-22T14:35:39Z Indexed on 2010/03/22 14:41 UTC
Read the original article Hit count: 321

Filed under:
|

Hi,

how to create the static enum like below

static enum Test{
 employee-id,
 employeeCode
}

as of now, i am getting error.

© Stack Overflow or respective owner

Related posts about java

Related posts about enums