Etudes/BTS/Java/Premiere annee/testcompteepargne/TestCompteEpargne.java
2016-10-14 17:52:18 +02:00

32 lines
673 B
Java

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package testcompteepargne;
/**
*
* @author therbron
*/
public class TestCompteEpargne {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
CompteEpargne ce;
CompteCheque cc;
double interet;
ce = new CompteEpargne();
cc = new CompteCheque(50);
ce.deposer(100.0);
interet = ce.calculerInteret();
System.out.println(interet);
}
}