Writing Classes to Solve Problems
1...Write a class that will receive a Double value in its constructor.
Provide 2 additional methods:
one will round the instance variable based upon the
value of the number of digits to the right of the point. The
digit position will be supplied to this method.
Rounding will occur starting at this point.
the other will demonstrate the toString method, which is an important method used in many classes.
2 Coming soon