Examples of kontostand()


Examples of distrsys.rmi.bank.common.Konto.kontostand()

         
          Konto konto = bank.finde(name);
          if(konto == null)
            System.out.println(noSuchAccount);
          else
            System.out.println(konto.kontostand());
        }
        else if(command.equals("withdraw"))
        {
          System.out.println(accountName);
          System.out.print("\t>> ");
View Full Code Here

Examples of distrsys.rmi.bank.common.Konto.kontostand()

    float interest = 3.3f;
    String accountNumber = "123";
    bank.erzeuge_spar_konto(accountNumber, interest);
    Konto konto = bank.finde(accountNumber);
    konto.einzahlen(balance);
    assertEquals(balance, konto.kontostand());
    bank.verzinsen();
    balance += (long)(balance*interest)/100;
    assertEquals(balance, konto.kontostand());
    bank.verzinsen();
    balance += (long)(balance*interest)/100;
 
View Full Code Here

Examples of distrsys.rmi.bank.common.Konto.kontostand()

    Konto konto = bank.finde(accountNumber);
    konto.einzahlen(balance);
    assertEquals(balance, konto.kontostand());
    bank.verzinsen();
    balance += (long)(balance*interest)/100;
    assertEquals(balance, konto.kontostand());
    bank.verzinsen();
    balance += (long)(balance*interest)/100;
    assertEquals(balance, konto.kontostand());
    bank.verzinsen();
    balance += (long)(balance*interest)/100;
 
View Full Code Here

Examples of distrsys.rmi.bank.common.Konto.kontostand()

    bank.verzinsen();
    balance += (long)(balance*interest)/100;
    assertEquals(balance, konto.kontostand());
    bank.verzinsen();
    balance += (long)(balance*interest)/100;
    assertEquals(balance, konto.kontostand());
    bank.verzinsen();
    balance += (long)(balance*interest)/100;
    assertEquals(balance, konto.kontostand());
  }

View Full Code Here

Examples of distrsys.rmi.bank.common.Konto.kontostand()

    bank.verzinsen();
    balance += (long)(balance*interest)/100;
    assertEquals(balance, konto.kontostand());
    bank.verzinsen();
    balance += (long)(balance*interest)/100;
    assertEquals(balance, konto.kontostand());
  }

}
View Full Code Here

Examples of distrsys.rmi.bank.common.SparKonto.kontostand()

     
      if(entry.getValue() instanceof SparKontoImpl)
      {
        long iterest;
        SparKonto sparKonto = (SparKonto)entry.getValue();
        iterest = (long)(sparKonto.get_zins_satz() * sparKonto.kontostand())/100;
        sparKonto.einzahlen(iterest);
      }
    }
  }
 
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.