-
What is the output of this program?
import java.io.*;
public class files_Example
{
public static void main(String args[])
{
File object = new File("/java/system");
System.out.print(object.canWrite());
System.out.print(" " + object.canRead());
}
}
-
- false false
- false
- true
- true false
- None of these
Correct Option: A
false false