Answer the following statements true (T) or false (F)

1) Files that are open for output from a program must be explicitly closed in the program.
2) Unchecked exceptions must be caught or propogated, or a program will not compile.
3) A finally clause is always required in a try-catch block.
4) Attempting to divide by zero will result in an Error being thrown, not an Exception.
5) Every line in a catch block is guaranteed to be executed in all situations.

1) T
2) F
3) F
4) F
5) F

Computer Science & Information Technology

You might also like to view...

If the Mini toolbar is viewable, although transparent, it can temporarily be removed by pressing the Esc key

Indicate whether the statement is true or false

Computer Science & Information Technology

Care must be taken when printing forms with combo boxes because all the menu options will be printed in a vertical column below the combo box

Indicate whether the statement is true or false

Computer Science & Information Technology