In Java, all sub-classes of super class which implements Serializable interfaces becomes serializable. What If you want to make sub-class non serialiazable ? It is possible to make a sub class non serializable. There is no such feature in java where you can make the sub-class unimplement an interface which is implemented by super class. […]
The post How to avoid serialization of sub-class of super class which implements Serializable interface? appeared first on NiharsWorld.com.