i have also a Question about this class we are saving an object in a test.out .. Do we save two or more than two object in test.out file. ? if they save more then two object. then how do we call second or another object?

if u learn to break the rock .. next day u will be looking to Mountain.

Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451

posted Feb 09, 2003 07:23:00

0

Hi ali, You keep calling readObject(), readInt(), readUTF(), or whatever. You just have to be sure that you read everything back in the same order that they wer written. Hope this helps, Michael Morris