Suppose the Employee class is derived from the Person class and the Person class defines an AddressChanged event. Which of the following should you not do to allow an Employee object to raise this event? A. Create an OnAddressChanged method in the Person class that raises the event. B. Create an OnAddressChanged method in the Employee class that raises the event. C. Make the Employee class call OnAddressChanged as needed. D. Make the code in the Person class that used to raise the event call the OnAddressChanged method instead.
đang được dịch, vui lòng đợi..