Xoriant interview question

In the second technical interview i was asked about serialization in Java which i couldn't answer satisfactorily.