Programming - Networking - Discussion

You Are Here :: Home > JAVA > Networking - Discussion

 



Q.

Close all Streams and Sockets using _______________________ method.                         


A. obj.stop(); B. obj.close();
C. obj.wait(); D. obj.kill();

Answer: Option B
Explaination:

 


obj.close() is used for closing all the Streams and Sockets.




Discussion

Your Comments Goes here...
NameDiscussion