XML & Web services: Help -- InputStream
I have a very general question. If I assign an InputStream to another InputStream, will I loose the content of the first InputStream?
InputStream a = somewhereReturnInputStream();
InputStream b = InputStream a;
Now would InputStream a be empty because I assigned it to InputStream b?
Any input is deeply appreciated. Thank you very much,
In Java, there is no operator overloading like C++. You are
simply copying one object ref to another object ref. There is no other side effect.
Sweet! Thank you very much for your help.