| Author |
serialization
|
Rauhl Roy
Ranch Hand
Joined: Aug 01, 2006
Posts: 401
|
|
hey, I have a class in which some methods are to be serialized and I don't want to serialze some of them. So what should I do. As far as I know TRANSIENT is for varialbles only. But I do not know, by making a methods STATIC We can stop it from being serialized. Regards, rahul.
|
 |
Ajay Singh
Ranch Hand
Joined: Dec 13, 2006
Posts: 182
|
|
|
methods are *never* serialized - the state of a object is preserved by saving the fields and their values.
|
 |
 |
|
|
subject: serialization
|
|
|