用switch case出现了一个错误,cannot jump from switch statement to this case….
查阅资料发现,是因为switch case 中是不能定义对象的,因为只要是在大括号内定义的对象,定义对象的地方要用{}包括
用switch case出现了一个错误,cannot jump from switch statement to this case….
查阅资料发现,是因为switch case 中是不能定义对象的,因为只要是在大括号内定义的对象,定义对象的地方要用{}包括