Override the correct method so that calling spend() on an instance of Credit increases its balance property by the amount spent.
spend()
Credit
balance
Make sure to pick spend(amount), followed by this.balance += amount;.
spend(amount)
this.balance += amount;