posted 17 years ago
Yes, if Class Bar encapsulates another object that doesn't implement Serializable, Bar can no longer be Serialized even though it extends Foo which extends Serializable.
In this example, an unserializable exception will be thrown on attempts to Serialize instances of Bar.
This can also occur if super classes of Bar contain such unserializable objects.
[ July 26, 2006: Message edited by: Carl Trusiak ]