Multiple choice

The textChanged() method in Java belongs to ____________ interface.

  1. WindowListener

  2. TextListener

  3. MouseMotionListener

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The textChanged() method in Java belongs to TextListener interface, which is used to invoke when a change occurs in a text area or text field.