SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  * @author rikut
  2.  */
  3. public class Velka {
  4.    
  5.     private double saldo;  
  6.     private double korkokerroin;
  7.    
  8.  
  9.   public Velka(double saldoAlussa, double korkokerroinAlussa) {
  10.  
  11. this.saldo = saldoAlussa;
  12. this.korkokerroin = korkokerroinAlussa; }
  13.  
  14. public void tulostaSaldo() {
  15.        
  16.         System.out.println(this.saldo);
  17.        
  18.  public void odotaVuosi() {
  19.          
  20.     this.saldo * this.korkokerroin = odotaVuosi;  } } }  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top