Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ex2_ficha5;
- import java.util.*;
- public class cliente {
- protected String nome;
- protected int numero;
- protected int tipo;
- protected int saldo;
- public void Nome(String nome){
- this.nome=nome;
- }
- public void Numero(int numero){
- this.numero=numero;
- }
- public void Tipo(int tipo){
- this.tipo=tipo;
- }
- public void Saldo(int saldo){
- this.saldo=saldo;
- }
- public String getNome(){
- return nome;
- }
- public int getNumero(){
- return numero;
- }
- public int getTipo(){
- return tipo;
- }
- public int getSaldo(){
- return saldo;
- }
- public void setSaldo(int saldo){
- this.saldo=saldo;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement