Create a class entertainment consisting of the following data members: Title Air Date i.e. Release
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a class entertainment consisting of the following data members:
• Title
• Air Date i.e. Release Date
• Genre
• Type (i.e. Movie, TV Show)
• Runtime
• Country
• Actors
Rating.
Follow the instructions below for creating the class and objects: Store the owners name as a dynamic array data member.
• Store the genre as a dynamic array data member.
• Store the names of the actors as a dynamic array data member.
• Create an object named “obj1” and initialize the object.
• Create a copy constructor that can list of genre, country and rating.
• Generate another object named “obj2” that is created by copying only the genre, country and ratings from “obj1”.
• Initialize the remaining attributes with values of your own.
Related Book For
Posted Date: