1.

What is the output of this program?import java.io.*; public class files_Example { public static void main(String args[]) { File object = new File("/New Folder/system"); System.out.print(object.getParent()); System.out.print(" " + object.isFile()); } }

A. /New
B. Folder false
C. /New false
D. /New Folder false
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs