为什么这一行有语法错误(如下所示)?谢谢
import java.util.StringTokenizer;
public class Tokenizer
{
public Tokenizer()
{
}
int n;
String esempio = "Ciao dodo sos";
StringTokenizer Tok = new StringTokenizer(esempio); // <---- Syntax error on token ";"
while (Tok.hasMoreElements())
System.out.println("" + ++n +": "+Tok.nextElement());
}