Which of the following statements are true?
a. All methods in FileInputStream/FileOutputStream are inherited from InputStream/OutputStream.
b. You can create a FileInputStream/FileOutputStream from a File object or a file name using FileInputStream/FileOutputStream constructors.
c. The return value -1 from the read() method signifies the end of file.
d. A java.io.FileNotFoundException would occur if you attempt to create a FileInputStream with a nonexistent file.
e. A java.io.FileNotFoundException would occur if you attempt to create a FileOutputStream with a nonexistent file.
a. All methods in FileInputStream/FileOutputStream are inherited from InputStream/OutputStream.
b. You can create a FileInputStream/FileOutputStream from a File object or a file name using FileInputStream/FileOutputStream constructors.
c. The return value -1 from the read() method signifies the end of file.
d. A java.io.FileNotFoundException would occur if you attempt to create a FileInputStream with a nonexistent file.
You might also like to view...
LinkedIn has an additional 5 million people joining each month
Indicate whether the statement is true or false
The interactive labels, called ____, appear when you position the mouse pointer over the label.
a. erasers b. reference points c. widgets d. scrubby sliders