Ask your own question, for FREE!
Mathematics 7 Online
OpenStudy (anonymous):

addPurses This method will combine the contents of two Purse objects. For example, if the current Purse object contains 1 penny, 2 nickels, 3 dimes and 4 quarters, and a second Purse object contains 6 pennies, 7 nickels, 8 dimes and 9 quarters, then this method should produce a Purse object that contains 7 pennies, 9 nickels, 11 dimes and 13 quarters. This method takes one argument: a Purse object and returns a Purse object. The argument passed to this method should be added to the currect Purse object. Note: the current Purse object should not be changed by this method.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!