Topic: 求教有关JAVA IO的问题

  Print this page

1.求教有关JAVA IO的问题 Copy to clipboard
Posted by: welcomeriver
Posted on: 2005-03-13 20:05

CoreJava1 第12章的一个例子 ,源代码见附件,在eclipse下运行不通过,错误如下:

java.io.EOFException
at java.io.RandomAccessFile.readChar(Unknown Source)
at ch12.RandomFileTest.DataIO.readFixedString(RandomFileTest.java:138)
at ch12.RandomFileTest.Employee.readData(RandomFileTest.java:112)
at ch12.RandomFileTest.RandomFileTest.main(RandomFileTest.java:42)

恳请高手指教,谢谢

RandomFileTest.java (4.21k)


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923