![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
import java.io.*; class test implements java.io.Serializable public test(String y, int x) public class FileIO { public FileIO() { try test x = new test("Senthoor",5);
test y = new test("Luxman",10);
FileInputStream fi = new FileInputStream("x.dat"); Whats wrong with this code... I am getting Type code out of range, is -84 when I execute this code. I can write objects for the first time and close the stream and read them back. However when I open the file in append mode and add some more objects and try to read them I am getting Type code out of range, is -84... Please help me... Senthoor
Replies:
|
Sponsored Links
|