Java Enum return Int
Font.PLAIN is not an enum. It is just an int. If you need to take the value out of an enum, you can’t avoid calling a method or using a .value, because enums are actually objects of its own type, not primitives. If you truly only need an int, and you are already to accept … Read more