MCQOPTIONS
Saved Bookmarks
| 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.getAbsolutePath()); } } |
| A. | /New Folder/system |
| B. | /New Folder |
| C. | /system |
| D. | Folder/system |
| E. | None of these |
| Answer» B. /New Folder | |