How will you declare main function using input stream?
Answers
Answered by
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