How can I use enums to make a lucky spin? | Sololearn: Learn to code for FREE!

0

How can I use enums to make a lucky spin?

1/20/2017 6:25:13 AM

Arefe Sun

1 Answer

New Answer

+2

You can follow this pattern... public enum Season { WINTER, SPRING, SUMMER, FALL } class EnumExample2{ public static void main(String[] args) { Season s=Season.WINTER; System.out.println(s); }}