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("/java/system"); System.out.print(object.canWrite()); System.out.print(" " + object.canRead()); } } |
| A. | false false |
| B. | false |
| C. | true |
| D. | true false |
| E. | None of these |
| Answer» B. false | |