2015-09-07 11:44:36 -06:00
|
|
|
|
// housekeeping/SimpleEnumUse.java
|
2015-06-15 17:47:35 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
|
|
|
|
|
|
|
|
|
public class SimpleEnumUse {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
Spiciness howHot = Spiciness.MEDIUM;
|
|
|
|
|
System.out.println(howHot);
|
|
|
|
|
}
|
2015-09-07 11:44:36 -06:00
|
|
|
|
}
|
|
|
|
|
/* Output:
|
2015-06-15 17:47:35 -07:00
|
|
|
|
MEDIUM
|
2015-09-07 11:44:36 -06:00
|
|
|
|
*/
|