Question: In case of pressing button which method can be used to determine the button pressed for the event ?? a. getID() b. getEvent() c. getEventObject()

  • In case of pressing button which method can be used to determine the button pressed for the event ?? 
  • a. getID() 
  • b. getEvent() 
  • c. getEventObject() 
  • d. getSource()

Step by Step Solution

3.28 Rating (174 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer In case of pressing button getSource method can be used to determi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!