Skip to content

Instantly share code, notes, and snippets.

@dennysfredericci
Created June 17, 2020 21:33
Embed
What would you like to do?
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