What is the need of overriding writeObject for writing transient variable

2 views
Skip to first unread message

ankurguptajpr

unread,
Apr 24, 2014, 10:02:16 AM4/24/14
to newidea_or...@googlegroups.com
Doubt here is if we want to write transient variable in file then we need to override write object method() to achive that.
But if we want to write that then what was the need of making that variable transient variable instead we can make that variable non-transient.
Reply all
Reply to author
Forward
0 new messages