Created
July 5, 2014 12:56
-
-
Save ramannanda9/3434d4f8cf8b49f72b74 to your computer and use it in GitHub Desktop.
Person Class
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 class Person { | |
private String firstName; | |
private String lastName; | |
public Person() { | |
super(); | |
} | |
public void setFirstName(String firstName) { | |
this.firstName = firstName; | |
} | |
public String getFirstName() { | |
return firstName; | |
} | |
public void setLastName(String lastName) { | |
this.lastName = lastName; | |
} | |
public String getLastName() { | |
return lastName; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment