Search:

Type: Posts; User: Newtojava

Page 1 of 2 1 2

Search: Search took 0.19 seconds.

  1. Replies
    1
    Views
    1,353

    How To add my own Exceptions

    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 {
  2. Replies
    50
    Views
    2,604

    Re: Help with programe please

    Thank you for all your help there are no more question.
  3. Replies
    50
    Views
    2,604

    Re: Help with programe please

    I have managed to impleament the withdrawl method if was not calling the constutor to call the method.
  4. Replies
    50
    Views
    2,604

    Re: Help with programe please

    I just need to know how to implement the withdrawl function. please.
  5. Replies
    50
    Views
    2,604

    Re: Help with programe please

    sorry but i made an typing error.
  6. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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...
  7. Replies
    50
    Views
    2,604

    Re: Help with programe please

    public List<BankAccountOutputVO> listAllAccounts() {

    Storage store = new Storage();

    ArrayList<BankAccountOutputVO> bao = new ArrayList<BankAccountOutputVO>();

    for (BankAccount...
  8. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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...
  9. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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...
  10. Replies
    50
    Views
    2,604

    Re: Help with programe please

    This is for the reason that we have two account types one is saving the other is current.
  11. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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...
  12. Replies
    50
    Views
    2,604

    Re: Help with programe please

    i am also not sure how to implement the withdrawl and deposit functions.
  13. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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
  14. Replies
    50
    Views
    2,604

    Re: Help with programe please

    i am not sure how to add the new bank accounts created to an arraylist.
  15. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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 {
    ...
  16. Replies
    50
    Views
    2,604

    Re: Help with programe please

    Thanks for all your help. i started to understand the basics of java programming now.
  17. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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
  18. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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.
  19. Replies
    50
    Views
    2,604

    Re: Help with programe please

    Hi i tried to do that but i still get i null pointer exception. the same error as before thank you for your help.
  20. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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...
  21. Replies
    50
    Views
    2,604

    Re: Help with programe please

    i am using eclipse and there there is not more information. thanks you.
  22. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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
  23. Replies
    50
    Views
    2,604

    Re: Help with programe please

    import java.util.List;


    public class BankManager implements _BankManager
    {

    public BankAccountOutputVO ViewAccountSummary(String accountNumber)
    {
    // TODO Auto-generated method stub...
  24. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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.
  25. Replies
    50
    Views
    2,604

    Re: Help with programe please

    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...
Results 1 to 25 of 26
Page 1 of 2 1 2