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.getName()); } }

A. new folder
B. new folder/system
C. /new folder/system
D. system
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs