Etudes/BTS/Java/Premiere annee/testcompteepargne/TestCompteEpargne.java

32 lines
673 B
Java
Raw Permalink Normal View History

2016-10-14 15:52:18 +00:00
/*
* 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);
}
}