First page Back Continue Last page Graphics
constructors as guides
When you write a constructor to “construct” an object given some type of parameter, you are providing instructions for casting.
e.g. Stonewt ( double lbs ) ; shows how to take a double value for pounds and store it in a “stone weight” object.