Overloaded methodsTopThe Magnet LabA Tshirt Class

A Tshirt Class

AS another example of a user-defined class, look at the Tshirt class in the Tshirt demo

It is similar to BBall in important (and trivial) ways:

There are also a few interesting differences:

A further exaample using the Tshirt class is in Drag2Shirts,

The two shirt dragging program is interesting, however, just because it is a bit like your next lab program....


Overloaded methodsTopThe Magnet LabA Tshirt Class