1.

What is the InputStream class meant for?(a) To handle all input streams(b) To handle all output streams(c) To handle all input and output streams(d) To handle only input from fileThe question was asked in an interview for internship.My question is taken from Inbuilt Classes in division Inbuilt Classes of Object Oriented Programming

Answer» RIGHT option is (a) To handle all input streams

Easy explanation - The INPUTSTREAM is an inbuilt class which is used to handle all the TASKS related to input handling. This class extends input from keyboard or FILE or any other possible input stream.


Discussion

No Comment Found

Related InterviewSolutions