Question: Must be written in C#! Create a base class ReadingMaterial and 2 derived classes Book and Magazine. Define an interface called IPrintable that has a
Must be written in C#! Create a base class ReadingMaterial and 2 derived classes Book and Magazine. Define an interface called IPrintable that has a method that returns the date of publication, which is an object of the class Date. Design your classes so that common characteristics are placed in the ReadingMaterial class. Use a Program class to test your design.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
