Hackerss.com

Hackerss.com is a community of amazing hackers

Hackerss is a community for developers, data scientitst, ethical hackers, hardware enthusiasts or any person that want to learn / share their knowledge of any aspect of digital technology.

Create account Log in
hackerss
hackerss

Posted on

Enum for gender in Java

Enum for gender - Java:


/**
* This class is used to define the gender of the person.
* @author 
* @version 1.0
*/
public enum Gender {
   MALE, FEMALE;
}


Enter fullscreen mode Exit fullscreen mode

Top comments (0)