1.

Which of these methods will be invoked if a character is entered?(a) keyPressed()(b) keyReleased()(c) keyTyped()(d) keyEntered()I got this question by my school teacher while I was bunking the class.This intriguing question originated from Event Listeners Interfaces in division Event Handling of Java

Answer»

The CORRECT answer is (C) keyTyped()

To EXPLAIN I would say: NONE.



Discussion

No Comment Found

Related InterviewSolutions