04-24-2011, 09:35 PM
plz give me the answers of the following questions
1- in the event handling code you use that event generator and handler both lies in the same class,thats why you are passing the this parameter to the handler class, my question is that if both (generator and handler)lies in different classes than what we will pass as an argument.
2. is there only one public class in each java program????
1- in the event handling code you use that event generator and handler both lies in the same class,thats why you are passing the this parameter to the handler class, my question is that if both (generator and handler)lies in different classes than what we will pass as an argument.
2. is there only one public class in each java program????

mileys81: