Exercise Set 2: Simple Classes

Exercise 2.1 A class to represent information about one person.

Exercise 2.2 A class that represents weather data for one day.

Exercise 2.3 A class that represents automobiles.

Exercise 2.4 A class that represents one type of item in a grocery store (a can of coffee).

Exercise 2.5 Run the existing code for the tests of the Class DayData. Complete the test suite for the Class DayData.

Exercise 2.6 A class that represents inventory information about an item in a grocery store (a can of coffee).