Search:

Type: Posts; User: ProgrammerNoobE

Search: Search took 0.10 seconds.

  1. Re: Could somebody help me with my homework? Calling method's from another class

    Thank you PhHein,

    Am I in the right direction now?



    import java.util.Scanner;
    import java.util.ArrayList;

    class Bank{
  2. Re: Could somebody help me with my homework? Calling method's from another class

    Thank you very much, I searched in the coursereader for information about arraylists, but what I don't understand is how I have to print the accounts?



    import java.util.Scanner;
    import...
  3. Re: Could somebody help me with my homework? Calling method's from another class

    I also tried it with this code:



    import java.util.Scanner;
    import java.util.ArrayList;

    class Bank{
    double balance;
    //Account account;
  4. Re: Could somebody help me with my homework? Calling method's from another class

    Thank you very much, it is working better now!

    Now I'm stuck on the array part. I don't really understand arrays and now I have to make a print of multiple accounts of people. How do I have to do...
  5. Re: Could somebody help me with my homework? Calling method's from another class

    Hello PhHein,
    Thank you for your fast replies!

    Could you explain it a little bit more, I'm a dutch student and I'm not really good with English terms so maybe you could explain it with some...
  6. Re: Could somebody help me with my homework? Calling method's from another class

    sorry for this mistake, I've changed it now
  7. Re: Could somebody help me with my homework? Calling method's from another class

    This is the code I have so far, but it does not work :( I think I choose the wrong constructor, because in the assignment stands that the class Bank should be the main class, so that should be the...
  8. Could somebody help me with my homework? Calling method's from another class

    4 Banking

    You are going to build a simple system of bank accounts. The program reads commands from input and executes them on the accounts (such as withdrawals, deposits, enrolling of new...
Results 1 to 8 of 8