C Type Hierarchies Could Be Used To Define Device Drivers

C++ type hierarchies could be used to define device drivers by encoding standard operations for all devices in a base class and then refining the behavior for various devices with derived classes. Describe a type hierarchy, including member functions and data, for a keyboard, display, mouse, serial line printer, floppy disk, and hard disk. Do not include details of the functions.

Posted in Uncategorized