Exercises5 1. Create two classes called Traveler and Pager without default constructors, but with constructors that take an argument of type string which they simply copy to an internal string variable. For each class, write the correct copy-constructor and assignment operator. Now inherit a class
Goals ▪ Loose coupling ▪ Portability, plug-and-play compatibility ▪ Insulation from change ▪ Independent evolution Strong Suggestions ▪ Do not expose details, only interfaces ▪ Depend only on other interfaces
Supplement the Use-Case Description For each Use-Case Realization ▪ Find Classes from Use-Case Behavior ▪ Distribute Use-Case Behavior to Classes For each resulting analysis class ▪ Describe Responsibilities ▪ Describe Attributes and Associations ▪ Qualify Analysis Mechanisms Unify Analysis Classes