Can enum throw exception?

You can throw unchecked exceptions from an enum constructor . there’s something icky about getting an exception thrown merely by accessing an enum value.

Sizin İçin Seçtik  What is switch case with example?

Leave a Reply

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