| Author |
making subclasses serializable necessary?
|
Rahul P Kumar
Ranch Hand
Joined: Sep 26, 2009
Posts: 188
|
|
|
If I make a super class serializable, then do subclasses have also to implement it in order to get the desired result or it is not necessary ? In same way, if interface extends serializable, do concrete classes have to necessaily implement serializable interface in order to get the desired output?
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
|
|
|
In correct object-oriented inheritance, a subclass has every feature of the superclass.
|
 |
 |
|
|
subject: making subclasses serializable necessary?
|
|
|