The following statement creates a BankAccount array:
BankAccount[] acc = new BankAccount[10];Is it okay or not okay to execute the following statements?acc[0].setBalance(5000.0);acc[0].withdraw(100.0);
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.