Update 10-CreditCard.java

Replace return contain if & else  with "return (sum % 10 == 0);"