Created
November 13, 2018 02:26
-
-
Save mbround18/e3d37925ac92be35186dbedb4b6e74fc to your computer and use it in GitHub Desktop.
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
package models; | |
public class User { | |
private String first; | |
private String last; | |
public User( | |
String firstName, | |
String lastName | |
) | |
{ | |
first = firstName; | |
last = lastName; | |
} | |
public String firstName() { | |
return first; | |
} | |
public String lastName() { | |
return last; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment