KXFT
package includejsp;public class HelloWorld { //完成 main 方法 public static void main(String[] args) { String today="日"; switch(today){ case "一": System.out.println("chibaozhi"); break; case "二": System.out.println("chibaozhi"); break; default: System.out.println("chibaozhi"); } }}你的today的类型错了还有case后面应该是双引号