previous | start | next

Reading a Coin Object from a File

ObjectInputStream in = new ObjectInputStream(new FilInputStream("coins.dat"));
Coin c = (Coin)in.readObject();



previous | start | next