Capgemini interview question

Java serialization problem