//collect3.h //header file for class Collection implemented using private inheritance #ifndef COLLECT3_H #define COLLECT3_H #include "list.h" class Collection:private List { public: Collection(); int size(); int includes(Type); void add(Type); //note these two ways: int isempty(); //will call method List::isempty() List::print; //gives public access level to method List::print() }; #endif