• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serialization of references  RSS feed

 
venkat bagavathi subramanian
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If an object and the references it holds are serialized, will the referred objects also be serialized along with this one??
thanks
venkatB
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, as long it is a non-static, non-transient, serializable field member.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!