Q206
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());
A.
java true
B.
java false
C.
\java false
AnswerD.
\java true
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board