Question: I need help with this in java ASAP please 1 of 4 1) Modify the Money class that is provided. This is a simple class
1 of 4 1) Modify the Money class that is provided. This is a simple class that stores money as dollars and cents. For example, $12.73 will be stored as 12 dollars and 73 cents. The cents value stored should never be greater than 99, so 3 dollars and 164 cents should actually be stored as 4 dollars and 64 cents The class has only one method, toString0, which returns a String representation of the money object. Your first task is to create four constructors for the class as follows: public Moneyof...) /I create an object with zero dollars and cents. public Money (int c).) // create an object with c cents // (adjusting dollars and cents so that 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
