Which two actions should you perform?

You are modifying an application that processes loans. The following code defines the Loan
class. (Line numbers are included for reference only.)

Loans are restricted to a maximum term of 10 years. The application must send a notification
message if a loan request exceeds 10 years.
You need to implement the notification mechanism.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)

You are modifying an application that processes loans. The following code defines the Loan
class. (Line numbers are included for reference only.)

Loans are restricted to a maximum term of 10 years. The application must send a notification
message if a loan request exceeds 10 years.
You need to implement the notification mechanism.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
B: Raise the event.
D: Declare the event handler.



Leave a Reply 2

Your email address will not be published. Required fields are marked *