Answered step by step
Verified Expert Solution
Question
1 Approved Answer
table [ [ Credit Card Account ] , [ - rate: double ] , [ - rewards: double ] , [ + CreditCard (
tableCredit Card Accountrate: doublerewards: doubleCreditCard makePurchaseamount categorymakePaymentamountredeemRewards : double getRewards : doubletoString process
Bank Accounts
All bank accounts contain a unique account number and a current balance. Users can always check their balance.
Money Market accounts contain an annual interest rate Users can make deposits and withdrawals.
Rewards Credit cards contain an interest rate on purchases and a cashback on regular purchases, cashback on Groceries and cashback on Gas. Users can make purchases and payments and also cash rewards.
Please write java code deatil
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started