Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package projetodaagenda;
- public class Pessoas {
- String nome;
- String email;
- String tel;
- String categoria;
- String aniversario;
- public Pessoas() {
- }
- public void insertName(String nome) {
- this.nome = nome;
- }
- public String getName() {
- return nome;
- }
- public void insertEmail(String email) {
- this.email = email;
- }
- public String getEmail() {
- return email;
- }
- public void insertTel(String tel) {
- this.tel = tel;
- }
- public String getTel() {
- return tel;
- }
- public void insertCategory(String categoria) {
- this.categoria = categoria;
- }
- public String getCategory() {
- return categoria;
- }
- public void insertBirthDay(int dia, int mes, int ano) {
- aniversario = "dia/mes/ano";
- }
- public String getBirthDay() {
- return aniversario;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement