Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using C++ inheritence , aggregation and composition, implement the relationship between classes using the UML class diagram (in the picture given) Person Contact # name:
Using C++ inheritence , aggregation and composition, implement the relationship between classes using the UML class diagram (in the picture given)
Person Contact # name: string +Person() + setName( name: string): void + setld id: string): void +getNamef): string + getPhone(): string + getEmail): string -phone: string email: string + Contact(0 t setPhonel phone: string): void + setEmail ema: string: void + getPhone): string +getEmail: string Staff Student Project # position: string # program. String # title: string Staffl) +setPosition(post: string): void + getPositiont): string Student() + setProgram(prog: string): void + setProject(proj: Project): void +setAdvisor(adv: Project): void +getProjetTitle(): string + getProgram(): string + getProjectAreaf): string + Project) + setTitlel title: string): void +setArea area: string): void + getTitle(): string + getArea(): string getAdvisorName(): string + getAdvisorPosition(): stringStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started