1.

What is the output of this program?import java.io.*; public class filesinputoutput_Example { public static void main(String args[]) { InputStream obj = new FileInputStream("inputoutput.java"); System.out.print(obj.available()); } }

A. Compilation error
B. Runtime error
C. true
D. false
E. None of these
Answer» B. Runtime error


Discussion

No Comment Found

Related MCQs