Enum with int value in Java

Viewed 34219

What's the Java equivalent of C#'s:

enum Foo
{
  Bar = 0,
  Baz = 1,
  Fii = 10,
}
5 Answers
Related