1.

Which of these class is not related to input and output stream in terms of functioning?(a) File(b) Writer(c) InputStream(d) ReaderI have been asked this question by my school principal while I was bunking the class.This is a very interesting question from Java.io Introduction in section Exploring java.lang & java.io of Java

Answer»

Right option is (a) File

The explanation: A File describes properties of a file, a File object is used to obtain or MANIPULATE the information ASSOCIATED with a disk file, such as the permissions, time date, and directories PATH, and to NAVIGATE SUBDIRECTORIES.



Discussion

No Comment Found

Related InterviewSolutions