String string = "1"; switch (string) { case "1": System.out.println("壹"); break; default: System.out.println("default"); }