java Syntax error on token "xxx", Identifier expected after this token java的语法错误:在指令xxx的后面,在这个指令的后面应该加上标识符 这个错误,一般是把语句直接放在了类里面。类中包括字段,构造方法,一般方法。