I'll admit right off that this is for an assignment, so please, no code samples. I just need a little help in understanding what my professor is trying to have us accomplish, because even though I know what we are going to do, the framework provided isn't making sense.
The package only consists of two classes, a
unit class, and a conversion class. The unit class is really simple, and I understand what is happening with that.
The conversion code is where I get mystified, not the algortithms for the conversion, but accessing the correct data to do the conversion. In the constructor, we were given this:
The part I am having trouble understanding is how I access the correct instance of unit to retrieve the correct conversion values...
Thanks.
[ January 22, 2005: Message edited by: C.
Alan ]
[ January 22, 2005: Message edited by: C. Alan ]