Write a Basket class with a no-argument constructor that starts the item count at zero. add increases the count by one, and size returns it.
class Basket { Basket(); void add(); int size(); }
Examples
There are also 2 hidden tests you can't see. Solve the problem, not the examples.