Q. Suppose that you want to have an object eh handle the TextEvent of TextArea object t. How should you add eh as the event handler for?

  • (A) t.addTextListener(eh);
  • (B) eh.addTextListner(t);
  • (C) addTextListner(eh.t);
  • (D) addTextListner(t,eh);
πŸ’¬ Discuss
βœ… Correct Answer: (D) addTextListner(t,eh);

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
143
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate