V
Q. What will be the output of the following Java program? (Note: inputoutput.java is stored in the disk.)
import java.io.*;
class filesinputoutput
{
public static void main(String args[])
{
InputStream obj = new FileInputStream("inputoutput.java");
System.out.print(obj.available());
}
}
- Correct Answer - Option(C)
- Views: 54
- Filed under category JAVA
Discusssion
Login to discuss.