Which of the following event object methods prevents other event listeners of the event from being called?
A. evt.stopImmediatePropagation()
B. evt.stopPropagation()
C. evt.preventDefault()
D. evt.cancelable()
Answer: A
You might also like to view...
Suppose your method does not return any value, which of the following keywords can be used as a return type?
a. void b. int c. double d. public e. None of the above
Given the function definition below, what is the effect of the call
``` change (ar, 0, n-1); ``` where n is the size of array ar? ``` void change (int ar[], int low, int high) { int temp; if (low < high) { temp = ar[low]; ar[low] = ar[high]; ar[high] = temp; change (ar, low+1, high-1); } } ``` a. First n elements of ar are sorted in ascending order. b. First n elements of ar are reversed. c. First and last elements of ar are switched. d. First and last elements of ar are sorted. e. Largest integer in temp is stored.