1.

Which of these methods can be used to determine the type of event?(a) getID()(b) getSource()(c) getEvent()(d) getEventObject()This question was posed to me in a job interview.Question is taken from Event Handling Basics topic in chapter Event Handling of Java

Answer» CORRECT ANSWER is (a) getID()

The BEST I can explain: getID() can be used to determine the TYPE of an event.


Discussion

No Comment Found

Related InterviewSolutions