Reading from an Object Stream
// Deserialize a objects from a file
FileInputStream inf = new FileInputStream(“tmp”);
ObjectInputStream s1 = new ObjectInputStream(inf);
//read the Object and cast to retrieve the
String = (String)s1.readObject();
Data date = (Date)s1.readObject();