An enum would do that very nicely.
See the tutorial:
http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html
Type: Posts; User: Norm
An enum would do that very nicely.
See the tutorial:
http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html
Do you have any specific questions about the program?