Thursday, January 12, 2006

ObjectOutputStream.writeUTF() vs. writeObject()

writeUTF() will write the entire string to the stream every time while writeObject() will write the entire string once and then a reference which takes up significantly less space on subsequent invocations.


Blogger stockmarketofindia said...

your blog confused me

7:29 AM  

Post a Comment

Links to this post:

Create a Link

<< Home