String season ="夏天";
switch (season)
{
case "春天":
System.out.println("春天");
break;
case "夏天":
System.out.println("夏天");
break;
case "秋天":
System.out.println("秋天");
break;
case "冬天":
System.out.println("冬天");
break;
default:
System.out.println("季节输入错误");