public void readExternal(ObjectInput in) throws IOException,ClassNotFoundException {msg = (String) in.readObject();num = in.read(); // 把数字88加进来}}这里多了一个}。还有最后那里,多了两个}。