我正在使用JDK 7和Netbeans IDE 7.1.2。通过Using string in switch
[试图在我的IDE中编译该示例示例,但出现此错误。
switch(month.toLowerCase()){(使用-source 7或更高版本在switch中启用字符串)1个错误
需要您的帮助。谢谢