Class Test. public
static void main(String[] args)
{
String day = "Sunday";
switch (day)
case "Monday":
System.out.println("Let's Work");
break;
case "Saturday":
System.out.println("waiting for Sunday");
break;
case "Sunday":
System.out.println("Today is fun day");
}
}
waiting for Sunday
Find the output
Share
0 Replies