If an object contain non serializable object reference, object can still be serialized if the object reference is marked with transient keyword. For example
Public transient Thread My_Thread;
Java is a purely Object Oriented programming language or not.......? If Not Then write a program without class & objects.......