Created
September 15, 2014 04:36
-
-
Save rssh/82fc8a3f6196b616add3 to your computer and use it in GitHub Desktop.
jdv_article_2
This file contains hidden or 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; | |
String getFirstName() { return firstName; } | |
void setFirstName(String firstName) { this.firstName = firstName; } | |
String getLastName() { return lastName; } | |
void setLastName(String lastName) { this.lastName = lastName; } | |
int hashCode() .... | |
boolean equals(Object o) { .... } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment