-
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.getAbsolutePath());
}
}
-
- /New Folder/system
- /New Folder
- /system
- Folder/system
- None of these
Correct Option: A
/New Folder/system