Advertisement
alberane

Classe Cliente - TP3 - Mestrado Ufla 2018

Sep 9th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.61 KB | None | 0 0
  1. package teste;
  2.  
  3. public class Cliente {
  4.    
  5.     private String id;
  6.     private String cpf;
  7.     private String nome;
  8.    
  9.     private String rua;
  10.     private String numero;
  11.     private String cidade;
  12.     private String bairro;
  13.    
  14.     private String infoCli;
  15.     private String tipoCli;
  16.    
  17.     public void addCliente() { 
  18.         System.out.println(this.id + this.nome + this.cpf +         this.cidade);
  19.     }
  20.    
  21.     public void addEnderecoCliente() {     
  22.         System.out.println(this.rua + this.numero + this.bairro +   this.cidade);      
  23.     }
  24.    
  25.     public void addContaCliente() {    
  26.         System.out.println(this.tipoCli + this.infoCli +            this.cidade);      
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement