title: Java: Restriction on serializability
body: <p>I have a class A which implements the interface serializible. There are two sub classes B and C which extends A. I want class B not be serializible? How can I achieve it?</p>