Still going through the tutorial, I encounter yet another thing that's kinda bugging me. Java streams are seperated into those that read/write bytes, and those that read/write characters (I think).
Why would one want to use say a DataOutputStream instead of a FileWriter? Can someone help me understand when I would want to use which in what situations (and could you include an example that has to do with sockets?).