Answer:
numAccounts = SavingsAccount.numberOfAccounts or you use account20.getnumberofaccounts
Step-by-step explanation:
This is a Java question , our task here is to call the get number of accounts which we do by imputing the code above .
C. account 20.get Number Of Accounts.
Using the command;
"account 20.get Number Of Accounts." Or
"numAccounts=SavingsAccount.numberOfAccounts;" would call the get Number Of Accounts method.
3.7m questions
4.8m answers