Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ObjectOutputStream . defaultWriteObject()  RSS feed

 
Joseph Sweet
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I call ObjectOutputStream . defaultWriteObject() from within the private void writeObject(ObjectOutputStream out) of a class that I want to custom serialize, how does it know which object to serialize (i.e how does it know what the current object is). Since I am not passing this info as a parameter.

???


[ July 31, 2007: Message edited by: Joseph Sweet ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!