382 B
382 B
Assignment 3 - Adam & Eve Subclasses
This is my code for the Task 3 assignment using inheritance.
How it works:
- I created a base class called
Human. ManandWomanare subclasses that inherit everything fromHuman.- The
Godfunction creates and returns an array with the first man and woman.