hi i was wondering on how to add my own exception to the withdrawl method.
import java.util.ArrayList;
import java.util.List;
public class BankManager implements _BankManager {
Type: Posts; User: Newtojava
hi i was wondering on how to add my own exception to the withdrawl method.
import java.util.ArrayList;
import java.util.List;
public class BankManager implements _BankManager {
Thank you for all your help there are no more question.
I have managed to impleament the withdrawl method if was not calling the constutor to call the method.
I just need to know how to implement the withdrawl function. please.
sorry but i made an typing error.
i have manged to sort that out i was using the worng class. thank you.
on of the last few problems are that i am trying to implement the withdrawl function.
public BankAccountOutputVO...
public List<BankAccountOutputVO> listAllAccounts() {
Storage store = new Storage();
ArrayList<BankAccountOutputVO> bao = new ArrayList<BankAccountOutputVO>();
for (BankAccount...
i have managed to create an array list
i am not sure how to add a new account to the arraylist from the command line.
basically i know we have to do this to create a new array but i am not...
basically i need to create an array list that will read the information from the command line. so the new accounts i create will be add to the array list. hope that make sense thank you for all you...
This is for the reason that we have two account types one is saving the other is current.
Hi sorry for the delay. The BankMangeroutVO class was given to me as part of the package. also the static should be removed as this is an error. Thank you in advance for all your help.
package...
i am also not sure how to implement the withdrawl and deposit functions.
This is all the code. thank you in advace.
import java.util.List;
public interface _BankManager {
/**
* Creates a new current account and then returns details to user
i am not sure how to add the new bank accounts created to an arraylist.
Hi i have written this code but i am not sure how to add the imformation from the interface to the arraylist
package com.fdm.bank;
import java.util.ArrayList;
public class Storage {
...
Thanks for all your help. i started to understand the basics of java programming now.
one of the problem is solved i am just trying to create an array list to store all the account if you could give me some addvice on these. Thanks
Thanks Guys for you help i managed to solve that problem. I was wondering how to save my new accounts in a list so i could manage these accounts. thank you.
Hi i tried to do that but i still get i null pointer exception. the same error as before thank you for your help.
we got given the bankaccounvo class. i am not sure if we can extended the class because the bankaccounvo class is a final class, and we got told not to edit this class. the code is not an assigment...
i am using eclipse and there there is not more information. thanks you.
This is the error from the compile
"Type mismatch: cannot convert from CurrentAccount to BankAccountOutputVO" the thing i am not sure about is what to call back. Thank you for ur help
import java.util.List;
public class BankManager implements _BankManager
{
public BankAccountOutputVO ViewAccountSummary(String accountNumber)
{
// TODO Auto-generated method stub...
yes the new code does not come with any errors but i am not sure how to return the object back. i am sorry but i not sure which tag that aussiemcgr is talking about.
I have changed this section but i am still not sure how to return the new account i have add.
public BankAccountOutputVO createNewCurrentAccount(String name,
double amount, double...