ITEC 120 LAB 12 Back to Lab index page

Band Booster Class

In this exercise, you will write a class that models a band booster and use your class to update sales of band candy.

1) Write the BandBooster class assuming a band booster object is described by two pieces of instance data: name (a String) and boxesSold (an integer that represents the number of boxes of band candy the booster has sold in the band fundraiser).

The class should have the following methods:

2) Write a program that uses BandBooster objects to track the sales of 2 band boosters over 3 weeks. Your program should do the following: