A Quiz
Suppose that a Mysterious Benefactor provides you with the Bag class, but you are only permitted to read the documentation in the header file. You cannot read the class definition or implementation file. Can you write a program that uses the Bag data type ?
You know the name of the new data type, which is enough for you to declare Bag variables. You also know the headings and specifications of each of the operations.