Virtual - Nathan-Groves/2143-OOP-Groves GitHub Wiki
Used in compile-time polymorphism to allow for functions to be overridden from base class to derived class. Only needed when using pointers.
class Mail {
public:
virtual void printMail();
};
class personalMail : public Mail {
public:
void printMail();
};