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

1. The throw operator causes a change in the flow of control.
2. The basic way of handling exceptions in Java consists of the try-catch-throw trio.
3. When an exception is thrown, the code in the surrounding try block continues executing and then the
catch block begins execution.
4. Every exception class is an ancestor of the class Exception.
5. The two most important things about an exception object are its type and the message that it carries
in an instance variable of type String.


1. True
2. False
3. False
4. True
5. True

Computer Science & Information Technology

You might also like to view...

What is the purpose of the Set and Get functions in classes?

What will be an ideal response?

Computer Science & Information Technology

Create a view that will display name, department number, and total income (salary+commission) of each employee in department 10. Prevent change of department through the view.

Use case study databases for the following queries.

Computer Science & Information Technology

On a UNIX host, you should run a ____ check, a set of software programs that makes sure any software you're running on your system is a trusted program.

A. Security Assessment Tool B. Baseline Security Analyzer C. Trusted Computing Base D. security_patch_check

Computer Science & Information Technology

What is the complete path and filename for the database that is used by the locate and mlocate commands?

A. /var/lib/mlocate/mlocate.db B. /var/lib/locate/locate.db C. /etc/mlocate.db D. /etc/locate/mlocate.db

Computer Science & Information Technology