What provides a way for the clients of a class to dictate methods that should execute when an event occurs?

A. a handler
B. an event
C. a delegate
D. a trigger


Answer: B

Computer Science & Information Technology

You might also like to view...

What is the most commonly used type of database according to the book's authors?

1. flat file 2. document-based 3. relational 4. No SQL

Computer Science & Information Technology

How is inheritance exhibited by human beings?

Give a brief answer to each of the following “object think” questions:

Computer Science & Information Technology

What is the value of variable s after execution of the program fragment below?

``` char h[6] = "wild"; char p[6] = "crazy"; char s[10]; strcpy(s, h); strcat(s, p); ``` a. "wild crazy" b. "wild craz" c. "wildcrazy" d. The value of s is undefined. e. none of the above.

Computer Science & Information Technology

Variables used to store integer values should be declared with keyword ________________ .

a) integer b) int c) intVariable d) Int

Computer Science & Information Technology