Enum Class for Gender Information

# Introduction In this challenge, we will create an enum class to store and set gender information. The enum class will allow us to represent gender using different data types such as "male" or "female", "1" or "0", and "MALE" or "FEMALE". We will then create a regular class called "Person" that will have attributes for name, sex, and age. The Person class will use the enum class to set and retrieve gender information. Finally, we will test our solution using a TestPerson class.

|60 : 00

Click the virtual machine below to start practicing