Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using C++, classes INHERITANCE: Update Event Case Study In this lab, you are going to add a new class Exhibit to the Event inheritance hierarchy.
Using C++, classes
INHERITANCE: Update Event Case Study In this lab, you are going to add a new class Exhibit to the Event inheritance hierarchy. Exhibit class will inherit from the Event class. Exhibit class will also have a list of Artifact objects. The following diagram represents the relationships between the classes. Event Is A (Inheritance) Has A (Composition) Exhibit Artifact Helper Class: Artifact The header and implementation files for Artifact class is given below. An Artifact object has a name, origin and era data members all of which are strings. The class also defines constructors, setters, getters and a toString function. Artifact.h #ifndef ARTIFACT_H #define ARTIFACT_H #includeStep 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