1.

Which among the following class contains the methods to access character based console device?(a) Console(b) File(c) Device(d) PipeThe question was posed to me during an interview.Enquiry is from IO Class in chapter Inbuilt Classes of Object Oriented Programming

Answer»

The correct OPTION is (a) Console

To explain I would say: The Console class contains the METHODS to access the character BASED devices. The devices which can stream the data as character set. All those devices can be made use of by USING the methods of class Console.



Discussion

No Comment Found

Related InterviewSolutions