1.

Choose the stream class method which is used to close the connection?(a) close()(b) static close()(c) void close()(d) none of the mentionedI got this question during an interview.The doubt is from Introduction of Stream Classes topic in portion Console I/O Operations and Stream Classes of C#

Answer»

Correct option is (C) void close()

The BEST I can explain: void close() CLOSES the STREAM.



Discussion

No Comment Found

Related InterviewSolutions