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.


abcd

Computer Science & Information Technology

You might also like to view...

Critical Thinking QuestionsCase 2-1You are planning a new presentation on marketing that you will deliver to your Intro to Business class. PowerPoint displays many themes that are varied and appealing and give you an excellent start at designing a presentation. However, you have a specific topic and design concept and could use some assistance in starting to develop the presentation. You ____. a. create your own templatec. use WordArtb. give careful thought to slide textd. can search for one of Microsoft's ready-made presentations or browse one of the predefined categories

What will be an ideal response?

Computer Science & Information Technology

A(n) ____ combines additional machine language code with the object program to create a final executable program.

A. linker B. compiler C. assembler D. interpreter

Computer Science & Information Technology

Software is sometimes illegally modified in order to disable ________ technologies such as copy protection and authenticity checks.

A. Turing B. attribution C. DRM D. fair use

Computer Science & Information Technology

What are common mistakes made by programmers in coding loops?

What will be an ideal response?

Computer Science & Information Technology