Multiple Choice
Which of the following import statements is required in order to write an event handler class?
A) import javafx.event.EventHandler;
B) import javafx.event.ActionEvent;
C) import javafx.EventHandler;
D) import javafx.EventHandler.event;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: To retrieve text that a user has
Q10: The process of connecting an event handler
Q11: Assuming three ImageView objects named puppy, kitten,
Q12: Layout containers provide methods for fine-tuning the
Q13: The Application class's _ method is the
Q15: To preserve an image's aspect ratio you
Q16: If you set a scene's size to
Q17: When programming in JavaFX, you should think
Q18: When an event takes place, the control
Q19: An event handler class will not be