Question: Modify and rewrite the Food class to an abstract class, so that no instance of Food class can be created class Food { protected: string
Modify and rewrite the Food class to an abstract class, so that no instance of Food class can be created

class Food { protected: string name; public: Food (string a) { name = a; } void print() { cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
