when we use the ObjectInputStream to store a lot of objects in a file, and the problem is how to use methodreadObject()
get all the objects from this file, since there are no readall()
method provide by ObjectInputStream. Below code can help;
|
|