I was reading through Serialization and Externalization in Java.
Individually I was able to use both the interfaces and was able to serialize and deserialize an object.
But as in Java, a class can implement multiple interface. I implemented both the interface in single class.
Now during runtime, how I can choose which serialization mechanism to choose?
I was wondering why this question has not been asked before! Is the question too lame?
Edit: My question is different from the question already asked on the forum.