InterviewSolution
Saved Bookmarks
| 1. |
What is the use of IO class?(a) To handle all the input operations(b) To handle all the output operations(c) To handle all the input and output operations(d) To handle all the input and output to the standard inputI got this question in unit test.Asked question is from IO Class in portion Inbuilt Classes of Object Oriented Programming |
|
Answer» CORRECT option is (c) To handle all the input and output operations Easiest explanation - The IO class provides FUNCTIONS that can be used to handle input and output operations. All the inputs from standard input and standard output, and also from the files can be handled. This GIVES the FLEXIBILITY to make the programs more user friendly. |
|