ExamVeda
Login
Home
This question belongs to Java Program Input Output
Input Output
?

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

Note: inputoutput.java is stored in the disk.

Answer & Solution
Correct Answer: Option C
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.