Biblioteca Java - Blame information for rev 4
Subversion Repositories:
Rev | Author | Line No. | Line |
---|---|---|---|
4 | mihai | 1 | package oop.banca; |
2 | |||
3 | |||
4 | public class Test { | ||
5 | public static void main(String[] args){ | ||
6 | Persoana p1 = new Persoana("A", 10); | ||
7 | ContBancar c = new ContBancar(p1, 0.1); | ||
8 | |||
9 | c.detalii(); | ||
10 | c.depunere(200); | ||
11 | c.actualizare(); | ||
12 | c.detalii(); | ||
13 | |||
14 | ManagerConturi mc = new ManagerConturi(); | ||
15 | |||
16 | Persoana a = new Persoana("alin",23); | ||
17 | Persoana b = new Persoana("dan",18); | ||
18 | Persoana e = new Persoana("adi",29); | ||
19 | |||
20 | mc.creareCont(a, 0.05); | ||
21 | mc.creareCont(b, 0.06); | ||
22 | mc.creareCont(e, 0.04); | ||
23 | |||
24 | mc.afiseaza(); | ||
25 | } | ||
26 | } |