-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCiente.java
More file actions
45 lines (33 loc) · 886 Bytes
/
Ciente.java
File metadata and controls
45 lines (33 loc) · 886 Bytes
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
package br.com.fiap.entities;
public class Ciente {
// visibilidae, tipo de dados e atributos
private String nome; // Gabriel
private String cpf; // 444.444.444-44
private int idade; // 20
private double altura; // 1.80
// metodos setters (entrada) e metodos getters (retornar/exibir)
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
public String getCpf() {
return cpf;
}
public void setCpf(String cpf) {
this.cpf = cpf;
}
public int getIdade() {
return idade;
}
public void setIdade(int idade) {
this.idade = idade;
}
public double getAltura() {
return altura;
}
public void setAltura(double altura) {
this.altura = altura;
}
}