Created
October 13, 2017 18:27
-
-
Save davidpn11/8480269dc7925054a8673effdad6d5af 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 Pessoa { | |
private String nome; | |
private String cpf; | |
private int idade; | |
public Pessoa(String nome, String cpf, int idade) { | |
this.nome = nome; | |
this.cpf = cpf; | |
this.idade = idade; | |
} | |
public String getNome() { | |
return nome; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment