How to read objects from an ObjectInputStream without throwing EOFException
Hi all,
I have a program which reads objects from a file with a while loop, However, it seems that the EOFException must be caught in order to continue the program. Is it possible for me to continue the program without throwing the exception? As I know, the FileReader has a ready() method. Is there anything that is similar in the ObjectInputStream? Thank you!~~

