-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCliente.java
More file actions
62 lines (49 loc) · 1.19 KB
/
Copy pathCliente.java
File metadata and controls
62 lines (49 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package projetoblockfilmes;
public class Cliente extends Pessoa implements IPessoa{
protected float cpf;
protected float telefone;
protected String email;
protected boolean ativo;
public Cliente(){
}
public Cliente(String nome, int idade, float cpf, float telefone, String email, boolean ativo) {
this.nome = nome;
this.idade = idade;
this.cpf = cpf;
this.telefone = telefone;
this.email = email;
this.ativo = ativo;
}
public boolean isAtivo() {
return ativo;
}
public void setAtivo(boolean ativo) {
this.ativo = ativo;
}
public float getCpf() {
return cpf;
}
public void setCpf(float cpf) {
this.cpf = cpf;
}
public float getTelefone() {
return telefone;
}
public void setTelefone(float telefone) {
this.telefone = telefone;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
@Override
public void exibirDados(){
getNome();
getIdade();
getCpf();
getTelefone();
getEmail();
}
}