In Lesson "JavaBeans" - Lab work - Eercise 4.2 - Step 6
(MyEventSource.java):

Interface type was used for parameter of addMyEventListener method.
Is there a particular reason why you would pass interface type instead of
class type (MyEventListenerImpl in this case) that implements the interface?



Thanks in advance.
KHB


-- 
Peace, Prosperity, & Liberty
_______________

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to