Skip to content

Commit

Permalink
LAB 4 (codigo modificado)
Browse files Browse the repository at this point in the history
  • Loading branch information
vigusmao committed Aug 6, 2021
1 parent 9b94160 commit 1384a8c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Banco/src/Correntista.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ public class Correntista extends PessoaFisica {
private static final int LIMITE_DEFAULT = 100;

private float limiteChequeEspecial;
private ArrayList<ContaCorrente> contas;
private ContaCorrente contaCorrente;
private ArrayList<AplicacaoFinanceira> investimentos;

public Correntista(String nome, long cpf) {
super(nome, cpf);
this.contas = new ArrayList<>();
this.contaCorrente = null;
this.investimentos = new ArrayList<>();
this.limiteChequeEspecial = LIMITE_DEFAULT;
}
Expand All @@ -27,5 +27,7 @@ public float getTotalInvestido() {
return 0; // ToDo IMPLEMENT ME!!
}


public ContaCorrente getContaCorrente() {
return contaCorrente;
}
}

0 comments on commit 1384a8c

Please sign in to comment.