Created
February 6, 2022 12:58
-
-
Save kagklis/01a37efbb54cae3de58cdf751bef63e4 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 class Person { | |
/** The first name. */ | |
private String firstName; | |
/** The last name. */ | |
private String lastName; | |
/** | |
* Returns the full name of the person. | |
*/ | |
public String getFullName() { | |
return firstName + ' ' + lastName; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment