Are enums integers in Java?

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.

Sizin İçin Seçtik  Uzun vadeli hangi coin alınır?

Leave a Reply

Your email address will not be published. Required fields are marked *