Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Revision Project 1
- //https://imgur.com/a/ESIghSF
- //Contact.java
- package com.mycompany.myapp;
- /**
- *
- * @author mabt
- */
- public class Contact {
- private String nom;
- private String description;
- private String img;
- public Contact() {
- }
- public Contact(String nom, String description, String img) {
- this.nom = nom;
- this.description=description;
- this.img = img;
- }
- /********** getters and setters **********/
- public String getNom() {
- return nom;
- }
- public void setNom(String nom) {
- this.nom = nom;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- public String getImg() {
- return img;
- }
- public void setImg(String img) {
- this.img = img;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment