Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Contacts {
- protected String Name, ID, Address, Email, Phone;
- public Contacts(){
- Name=""; ID=""; Address=""; Email=""; Phone = "";
- }
- public Contacts(String ID, String Name, String Address, String Email, String Phone){
- this.ID = ID; this.Name=Name; this.Address=Address;
- this.Email = Email; this.Phone = Phone;
- }
- public String getName(){
- return Name;
- }
- public String getID(){
- return ID;
- }
- public String getAddress(){
- return Address;
- }
- public String getEmail(){
- return Email;
- }
- public String getPhone(){ return Phone; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement