Data Type Java Tutorial

enum Week {
  Monday, Tuesday, Wednesday, Thursday, Friday, Saturaday, Sunday
}
public class MainClass {
  public static void main(String args[]) {
    Week day;
    // 
    day = Week.valueOf("Monday");
    System.out.println("day contains " + day);
  }
}
day contains Monday