Abstract Example class Alarm { public: virtual void turn_on() = 0; virtual void turn_off() = 0; virtual bool is_on() = 0; virtual ~Alarm() { }; };