Multiple choice

What is the use of ItemEvent class in event handling in java?

  1. This event class is used to determine that the particular item is selected or deselected.

  2. This event class is used to determine that the specific action is performed on an item.

  3. This event class is used to determine that the values of the scrolling components are changed by the user.

  4. This event class is used to determine that the particular item loses or gains the focus.

  5. None of the above

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

This is true about ItemEvent class.