title: Days of the Week Switch Construct - Am I Doing This Right?
body: <p>The assignment is to:
  "Write a program that does the following: Declare a set of seven integer constants named MONDAY, TUESDAY, ... , SUNDAY. Set MONDAY to 1, TUESDAY to 2, and so forth. Then, create an integer variable named day_of_week and initialize it with some integer value. If the value of day_of_week is 1, the program should display Today is Monday. If the value is 7, the program should display Today is Sunday, and so forth. If the value is not in the range 1-7, the program should display the message Invalid Data. Use a switch construct and the defined constants as part of the switch."</p>
  
  <p>I was wondering if I was doing something wrong or if there is anything I should change since I am just starting out with Java and am trying to learn and get better.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>public class DaysOfWeek {
  
      public static void main(String[] args) {
          // TODO Auto-generated method stub
          int MONDAY = 1;
          int TUESDAY = 2;
          int WEDNESDAY = 3;
          int THURSDAY = 4;
          int FRIDAY = 5;
          int SATURDAY = 6;
          int SUNDAY = 7;
  
          int day_of_week = 1;
  
          switch(day_of_week)
  
          {
  
              case 1:
                  System.out.println("Today is Monday");
                  break;
  
              case 2:
                  System.out.println("Today is Tuesday");
                  break;
  
              case 3:
                  System.out.println("Today is Wednesday");
                  break;
  
              case 4:
                  System.out.println("Today is Thursday");
                  break;
  
              case 5:
                  System.out.println("Today is Friday");
                  break;
  
              case 6:
                  System.out.println("Today is Saturday");
                  break;
  
              case 7:
                  System.out.println("Today is Sunday");
                  break;
  
              default:
                  System.out.println("Invalid Data");
                  break;
  
          }
  
      }
  
  }
  </code></pre>
  
  <p>Thanks in advance</p>