Cannot jump from switch statement to this case label error:Cannot jump from switch statement to this case label 因为switch case 中是不能定义对象的,因为只要是在大括号内定义的对象 所以只需要在case:后面加上大括号就OK