Created
April 5, 2019 06:05
-
-
Save akshanshjain95/26c313b3905e4dea7b6d5a18ffe0dbd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class Person { | |
private String firstName; | |
private String lastName; | |
private String middleName = ""; | |
private String facebookId = ""; | |
private String twitterId = ""; | |
public Person() {} | |
//Setters | |
public void setFirstName(String firstName) { | |
this.firstName = firstName; | |
} | |
public void setLastName(String lastName) { | |
this.lastName = lastName; | |
} | |
public void setMiddleName(String middleName) { | |
this.middleName = middleName; | |
} | |
public void setFacebookId(String facebookId) { | |
this.facebookId = facebookId; | |
} | |
public void setTwitterId(String twitterId) { | |
this.twitterId = twitterId; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment