Created
June 17, 2020 21:33
-
-
Save dennysfredericci/e89becdaa191a3aff891749e305e5429 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 enum Gender { | |
FEMALE("F"), | |
MALE("M"), | |
NOT_AVAILABLE("N"); | |
private final String code; | |
Gender(String code) { | |
this.code = code; | |
} | |
public String getCode() { | |
return code; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment