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

 Q2. Class Article (10 marks) Article is a specialized Reference that

Q2. Class Article (10 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!