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 ?
No. Not unless I see the class declaration for the Bag.
No. I need to see the class declaration for the Bag , and also see the implementation file.