A class that receives notification of KeyEvents must inherit from the class.

a. KeyHandler
b. KeyListener
c. EventListener
d. KeyEvent

b. KeyListener

Computer Science & Information Technology

You might also like to view...

Which XML attribute can you use to set the name of your click method within your Activity class and then implement it?

a. Tokenizer b. ToggleButton c. onClick d. InputFilter

Computer Science & Information Technology

Suppose that ch1 and ch2 are char variables and the input is:WXYZWhat is the value of ch2 after the following statements execute?cin >> ch1;ch2 = cin.peek();cin >> ch2; 

A. W B. X C. Y D. Z

Computer Science & Information Technology