Multiple choice

Which of the following methods is/are not present in the ActionEvent class in Java?

  1. getWhen()

  2. getActionCommand()

  3. actionPerformed(ActionEvent e)

  4. paramString()

  5. getModifiers()

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

This is the correct choice because actionPerformed(ActionEvent e) method is not present in the ActionEvent class.