tf_fundamentos/Pessoa.java
caioperschespindola 68a1209f70 Revert "gerenciador-rev"
This reverts commit 85aabf555e.
2026-06-11 18:58:29 -03:00

24 lines
No EOL
471 B
Java

public class Pessoa{
private int nome;
private int idade;
private String localNascimento;
public Pessoa(int nome, int idade, String localNascimento){
this.nome = nome;
this.idade = idade;
this.localNascimento = localNascimento;
}
public int getNome(){
return this.nome;
}
public int getIdade(){
return this.idade;
}
public String getLocal(){
return this.localNascimento;
}
}