Dear Java Programmer:
DataOutputStream out = new DataOutputStream(new
FileOutputStream("invoice"));
In this code, am not to clear what object the name invoice represents. I think
I understand that a FileOutputStream object "invoice" is wrapped to a
DataOutputStream "out?"
So in the second part of the program have the following code:
DataInputStream in = new DataInputStream(new
FileInputStream("invoice"));
This established a FileInputStream object wrapped into a DataInputStream object.
The question is, how is the object in related to the object out. I don't see
the connection.
Respects,
JKid314159
http://existentialreadingcircle.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---