MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? import java.io.*; class filesinputoutput { public static void main(String args[]) { InputStream obj = new FileInputStream("inputoutput.java"); System.out.print(obj.available()); } } |
| A. | true |
| B. | false |
| C. | prints number of bytes in file |
| D. | prints number of characters in the file |
| Answer» D. prints number of characters in the file | |