Skip to content
README.md 1.34 KiB
Newer Older
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
# Creature Classification
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
This Java project implements a classification system for creatures including Animals, Plants, and Fungi. Each creature class inherits from an abstract class called "Creature" and implements the interface "Reproduction".
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
## Usage
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
To use this project, follow these steps:
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
1. Clone the repository.
2. Compile the Java files.
3. Run the Main class.
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
## Output
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
After running the Main class, you will see the following output:
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
### Animals:
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
- **Wolf**: ingestion, Sexual Reproduction, known for its pack hunting.
- **Eagle**: ingestion, Sexual Reproduction, symbol of freedom and strength.
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
### Plants:
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
- **Rose**: sunlight (aka photosynthesis), Seeds, admired for its beauty and fragrance.
- **Oak**: sunlight (aka photosynthesis), Seeds, represents strength and endurance.
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
### Fungi:
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
- **Mushroom**: external digestion with hyphae, Spores, thrives in moist environments.
- **Mold**: external digestion with hyphae, Spores, often found on expired food.
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
## Classes
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
### Animal
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
- **Methods**: eatFood(), modeOfReproduction()
- **Subclasses**: Wolf, Eagle
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
### Plant
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
- **Methods**: eatFood(), modeOfReproduction()
- **Subclasses**: Rose, Oak
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
### Fungi
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
- **Methods**: eatFood(), modeOfReproduction()
- **Subclasses**: Mushroom, Mold
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

## Contributing

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
Feel free to contribute to this project by submitting pull requests or reporting issues.
jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed

jmagm4@umsystem.edu's avatar
jmagm4@umsystem.edu committed
##