1.

What is the output of this program? import java.io.*; class files { public static void main(String args[]) { File obj = new File("/java/system"); System.out.print(obj.getName()); } }

A. java
B. system
C. java/system
D. /java/system
Answer» C. java/system


Discussion

No Comment Found