Programmer-defined exception classes typically should contain 3 constructors:

a) a default constructor, a constructor that receives a string for the error message and a
constructor that receives an Exception argument of the inner exception object
b) a default constructor, a constructor that receives a string and a constructor that receives both a string and an exception
c) a constructor that receives a string, a constructor that receives an exception and a
constructor that receives both
d) a default constructor, a constructor that receives a string and a constructor that receives
a number indicating the line number where the exception occurred

b) a default constructor, a constructor that receives a string and a constructor that receives both a string and an exception

Computer Science & Information Technology

You might also like to view...

Styles are fast to apply, result in a consistent look and can be automatically updated in documents

Indicate whether the statement is true or false

Computer Science & Information Technology

The biggest improvement that desktop publishing has brought to business is an improvement in:

A) aesthetics. B) legibility. C) time. D) size.

Computer Science & Information Technology