Question: Q2. Class Article (20 marks) Article is a specialized Reference that also has information about the journal where the article is published, start page, and

Q2. Class Article (20 marks) Article is a specialized Reference that also has information about the journal where the article is published, start page, and end page. More precisely, 1. An Article is a derived class of Reference 2. It also stores information about the journal (type string or char*), and the startPage and endPage (both of type int); 3. It implements the additional member function int getNumberOfPages(), which returns the total number of pages (computed using starPage and endPage)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
