What's the difference between DataOutputStream and ObjectOutputStream?

Viewed 24820

I'm learning about socket programming in Java. I've seen client/server app examples with some using DataOutputStream, and some using ObjectOutputStream.

What's the difference between the two?

Is there a performance difference?

4 Answers
Related