Band Booster Class

This lab gives you practice with creating a simple class and a driver 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 called Band.java that uses BandBooster objects to track the sales of 3 band boosters over several weeks. Your program should do the following:

Go back to lab1 index page