Can enums hold values?

The Enum constructor can accept multiple values . Similarly, we can add any values we want to the enum, such as the proper case symbols, “He”, “Li” and “Be”, for example.2 Eyl 2021

Sizin İçin Seçtik  When should I use enum in Java?

Leave a Reply

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