多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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

  • A、  t.addTextListener (eh)
  • B、  eh.addTextListener (t)
  • C、  addTextListener (eh,t)
  • D、  addTextListener (t, eh)
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题