If a class contains two components that might each generate a specific event type, you can determine

Question:

If a class contains two components that might each generate a specific event type, you can determine which component caused the event by using the ____________ method.
a. addActionListener()
b. getSource()
c. whichOne()
d. identifyOrigin()

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Programming

ISBN: 978-1337397070

9th edition

Authors: Joyce Farrell

Question Posted: