Computer Science, asked by anupkumarminj555, 8 months ago

How will you declare main function using input stream?

Answers

Answered by itzshrutiBasrani
1

Explanation:

You close an InputStream by calling the InputStream close() method. Here is an example of opening an InputStream , reading all data from it, and then closing it: InputStream inputstream = new FileInputStream

Similar questions