This has been giving me error when I try to invoke the addAccount method saying .class is expected on the line where I try to invoke it. I am trying to do an as
addAccount
Do not specify parameter type while calling a method.
Here is an error:
case 1 : addAccount(int accountNo,double accountBal);
It must be:
case 1 : addAccount(accountNo,accountBal); break;