可学答题网 > 问答 > Java认证考试综合练习题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

假如我们想要对象eh来处理TextArea对象t的TextEvent事件,那


假如我们想要对象eh来处理TextArea对象t的TextEvent事件,那么我们应如何把eh添加为t的事件处理程序?()     

  • A  t.addTextListener (eh)
  • B  eh.addTextListener (t)
  • C  addTextListener (eh,t)
  • D  addTextListener (t, eh)
参考答案
参考解析:
分类:Java认证考试综合练习题库