Skip to content

Instantly share code, notes, and snippets.

@fernandobgi
Created June 13, 2012 14:40
class Employee {
Gender gender;
}
public class Something {
enum Gender { MALE , FEMALE };
public static void main(String[] args) {
Employee e = new Employee();
e.gender = Something.Gender.FEMALE;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment