If you are familiar with Java, then no course in Java is possible without flow of controls in which the switch forms a very important lesson. A typical switch looks like below:
switch(weekNumber){ case 1:System.out.println(" MONDAY "); break; case 2:System.out.println(" TUESDAY "); break; case 3:System.out.println(" WEDNESDAY "); break; case 4:System.out.println(" THRUSDAY "); break; case 5:System.out.println(" FRIDAY "); break; case 6:System.out.println(" WEEKEND "); break; case 7:System.out.println(" WEEKEND "); break; default:System.out.println(" NOT POSSIBLE "); break; }