I have a class which implements Serializable. Now I extends this class and I want this extended class to be non Serializable. So how to do it?
For example. I have >
It will always be Serializable, though you could ensure nothing in the class ever gets serialized by making every member transient.
transient