Java代码是
ObjectInputStream ois=new ObjectInputStream(new FileInputStream("src/Stringdata.txt"));
String s=(String)ois.readObject();
System.out.println(s.toString());
} catch (IOException e) {
e.printStackTrace();
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
这里出现 java.io.StreamCorruptedException: invalid stream header: 4D6F7374 这个错误请帮帮我