"How does Java know the types of objects and data when reading them back from a file" . . . . .