1.

Reader class is _________________(a) Used to read from files(b) Abstract class to read character streams(c) Abstract class to input character streams(d) Used to take input from standard input streamThe question was posed to me by my college director while I was bunking the class.The query is from IO Class in portion Inbuilt Classes of Object Oriented Programming

Answer»

Correct option is (b) ABSTRACT CLASS to read character streams

For explanation: The Reader class is an abstract class that can be used to read characters STREAM. It can’t be used for any kind of input. It can just read the EXISTING data.



Discussion

No Comment Found

Related InterviewSolutions