1.

IO class provides input and output through ______________________(a) Data streams(b) Serialization(c) File system(d) Data streams, serialization and file systemThe question was posed to me in an interview for job.This is a very interesting question from IO Class topic in chapter Inbuilt Classes of Object Oriented Programming

Answer»

Correct option is (d) DATA streams, SERIALIZATION and file system

To explain I would say: The IO classes are MADE such that those can support the input and output from any TYPE of source or destination. The input can be taken from system file and standard input and also some special devices if conned. Same is CASE to show the output.



Discussion

No Comment Found

Related InterviewSolutions