"/*
Define a class named TaxWhiz that computes the sales
tax for a purchase. It should store the current tax
rate as an instance variable. Following the model of
the Rectangle class, you can initialize the rate using
a TaxWhiz() method. This class should have one public
method, calcTax(double purchase), which returns a
double, whose value is purchases times the tax rate.
For example, if the tax rate is 4 percent, 0.04, and
the purchase is $100, then calcTax() should return
4.0.
*/"
Those are the instructions. You need to create a TaxWhiz class. Its constructor should take an argument (a double) that is the rate of tax for those purchases. The TaxWhiz class needs to have one fuction calcTax() that takes the purchase price as an argument and returns the amount of tax on that purchase.
Even a chapter on output has to cover the rough basics of what a class is because everything in Java is done inside a class. The instructions refer to a specific example "the Rectangle class" so I'm sure you have an example of what you need to do.
The skeleton structure of what you want to do is this, of course you need to fill in the details: