Forgetting to register an event-handler object for a particular GUI component’s event type causes
a. events of that type to be ignored.
b. all of the GUI component's events to be ignored.
c. a compilation error.
d. None of the above.
a. events of that type to be ignored.
You might also like to view...
Answer the following statements true (T) or false (F)
1. One reason for using functions is to break programs into a set of manageable units, or modules. 2. If a function has no return statement, the flow of control moves to the next function in the file when the closing brace of the function body is reached. 3. When you make a function call, the order of the arguments you send does not matter as long as the number of arguments matches the number of parameters the function has. 4. Although global variables can be useful, it is considered good programming practice to restrict your use of them. 5. Both function headers and function calls must list the data types of all data being passed to the function.
What is the difference between a try block and a try statement?
a. There is no difference; the terms can be used interchangeably. b. A try statement refers to the block of code following the keyword try, while the try block refers to the try keyword and the block of code following this keyword. c. The try block refers to the keyword try followed by a block of code. The try block and its corresponding catch and/or finally clauses together form a try statement. d. The try statement refers to the keyword try followed by a block of code. The try statement and its corresponding catch and/or finally clauses together form a try block.