Zebra0.com

java switchPrint season from month

Print season from month

In this example, we print the month based on the month using switch. Compare this to the example using nested if/else.