Question: Question 1: Consider the following code and mention the description against the given questions? class Book Q1: Define a default, parameterized and copy constructor for

Question 1: Consider the following code and mention the description against the given questions? class Book Q1: Define a default, parameterized and copy constructor for the given class. private: Q2: Define a Destructor for the given class. string Bid Q3: Define a separate setter and getter for each data string Bname; member. Setter and Getter for Static data member should be string ISBN; static. Q4: Create 4 separate objects. Call default and public: parameterized constructor for 2 objects. Moreover, call copy constructor for the other 2. Q5: Display the details of each object by calling respective getters. Q6: Screenshot of output is required as an evidence
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
