Multiple choice technology platforms and products

When the state of the CheckBox changes, you may register a listener object which is an instance of _________.

  1. onChangeListener()

  2. onCheckedChangeListener()

  3. onCheckBoxListener()

  4. None of above

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

CheckBox uses CompoundButton.OnCheckedChangeListener to detect state changes. onCheckedChangeListener is the correct listener interface name. The claimed answer B is correct.