单项选择题

如果要监控键盘事件,可用的方法作为监视器的是()

A.addActionListener
B.addTextListener
C.addItemListener
D.addKeyListener