Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Write a description of class Cliente here.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class Cliente
- {
- //Declaración de las Variables
- private String rut;
- private String nombre;
- private String apellido;
- private int edad; //int es para un valor entero
- private int valor;
- private int horas;
- private boolean estado; //true: pagos vigentes, false: deuda, cliente inactivo
- private char sexo; // F: femenino o M: masculino
- //double es para un valor no entero
- //char es para un character
- public Cliente()
- {
- rut = "";
- nombre = "";
- apellido = "";
- edad = 0;
- valor = 0;
- horas = 0;
- estado = false;
- sexo = 'M';
- }
- public Cliente
- }
Advertisement
Add Comment
Please, Sign In to add comment