Problem
1. Suppose a base class and a derived class both define a method with the same name and a derived-class object invokes the method. What method is called?
2. When should a derived class define an assignment operator?
3. Can you assign the address of an object of a derived class to a pointer to the base class? Can you assign the address of an object of a base class to a pointer to the derived class?
4. Can you assign an object of a derived class to an object of the base class? Can you assign an object of a base class to an object of the derived class?