PRO_gramer

PESSOA HASHMAP

Jun 29th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1.  
  2. public class Pessoa {
  3. private String pessoa;
  4.  
  5. public Pessoa(String nome){
  6.     this.pessoa=nome;
  7. }
  8.  
  9. public String getNome(){
  10.     return this.pessoa;
  11. }
  12. public String toString(){
  13.     return"Nome do Funcioanário:" + this.pessoa+"\n";
  14. }
  15. }
Add Comment
Please, Sign In to add comment