|
-
Mar 16th, 2001, 01:42 PM
#1
Thread Starter
Addicted Member
Dear Friends,
I know there are ways to define one's data type using Enumeration.
How this can be done in Java?
I wish to achieve a ButtonType enum
which can carry the following 2 values only:
ButtonType {num_key, op_key}
ButtonType BigButton = num_key;
Thanks a lot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|