can we override writeobject method to acheive serializable concept?
posted 8 years ago
I know serialization concept. Generally if you want to make a class as serializable,you can implement serializable interface..
once we implement it, jvm take care of the object to be serialied by using writeObject and readobject method(). But my doubt is that can we override these methods directly in our own class,so that we can achieve that serialiable concept?