Created
March 2, 2021 16:17
-
-
Save willyancaetano/3dd54d16df06ccf549617e853ebe0198 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Conta { | |
private Float saldo; | |
public String agencia; | |
public String numeroConta; | |
private final String codigoBanco = "104" | |
public Float getSaldo() { | |
return this.saldo; | |
} | |
public void setSaldo(float saldo) { | |
this.saldo = saldo; | |
} | |
public void setNumeroConta(String numeroConta) { | |
numeroConta = numeroConta; | |
} | |
public String getNumeroConta() { | |
return this.numeroConta; | |
} | |
private void setAgencia(String agencia) { | |
agencia = agencia; | |
} | |
public String getAgencia() { | |
return numeroConta; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment