This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
this compiles and runs fine for me with no exceptions! whats jdk are you using? just as an after thought though you should always close the streams as a good habit. so close the output stream before trying to read from it and then close the input stream too.
Joined: Apr 19, 2002
I m using jdk1.2 What version r u using?
Roy Ben Ami
Joined: Jan 13, 2002
im using 1.4 ... :roll: weird. tried searching the bug database in sun but they dont have a bug like you mentioned. however, there are quite a few bugs there related to serialize objects in 1.2, maybe it is just one of them. try closing the streams like i mentioned and maybe it will help.