How do I create an enum variable?

If you just use #define to define constants used as values for some variable the debugger will show you the numer. With enum it can show you the names. And if you need a set of possible values (constants) for a single variable you can define it the way you showed.23 Mar 2010

Sizin İçin Seçtik  Can enum be using with string Java?

Leave a Reply

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