Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 584 Bytes

(8 kyu) Basic subclasses - Adam and Eve.md

File metadata and controls

9 lines (5 loc) · 584 Bytes

Basic subclasses - Adam and Eve (8 kyu)

https://www.codewars.com/kata/547274e24481cfc469000416/

According to the creation myths of the Abrahamic religions, Adam and Eve were the first Humans to wander the Earth.

You have to do God's job. The creation method must return an array of length 2 containing objects (representing Adam and Eve). The first object in the array should be an instance of the class Man. The second should be an instance of the class Woman. Both objects have to be subclasses of Human.

Your job is to implement the Human, Man and Woman classes.