What will be the output of the following Java program? (Note: file is made in c drive.)
import java.io.*;
class files
{
public static void main(String args[])
File obj = new File("/java/system");
System.out.print(obj.getParent());
System.out.print(" " + obj.isFile());
}
i) java true
ii) java false
iii) \java false
iv) \java true
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here