Hi,

I've got a couple of OOP related questions that I wouldn't mind finding the answer to.

1) Why is it that class destructors cannot be inherited? What if your derived class requires the same destructor code?

2) If you create a class on the heap using the following:

Code:
Employee myEmployee = new Employee
is the destructor called when you delete the object?

Many thanks,

Daniel