Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Abdulel3h/FlowerDatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlowerDatabase

Java OOP console exercise that models a plant, flower, and season.

Overview

This repository is an early Java object-oriented programming practice project. It demonstrates classes, inheritance, composition, scanner input, and console output.

Features

  • Plant class for plant name and growth time
  • Flower class extending Plant
  • Season class composed into Flower
  • Interactive console prompts

Architecture

Main
  -> Plant input/output
  -> Flower extends Plant
  -> Season is attached to Flower

Tech Stack

  • Java

Installation

javac *.java
java Main

Usage

Run the program and answer the console prompts for plant name, growth time, flower length, color, benefits, blooming behavior, and season.

Screenshots

No screenshots are needed for this console exercise.

System Design

  • Main.java controls the console flow.
  • Plant.java stores plant-level fields and output.
  • Flower.java extends Plant and adds flower-specific fields.
  • Season.java stores the season name.

Folder Structure

Main.java
Plant.java
Flower.java
Season.java

Challenges

  • Public fields and scanner usage could be improved.
  • The project is useful as a learning artifact but not as an AI Engineer portfolio project.
  • No tests are present.

Future Work

  • Archive or mark as early coursework.
  • Refactor with constructors, validation, and unit tests if kept.

License

No license file is currently present. All rights are reserved by default unless a license is added.

Author

Abdulelah Alkhathami

Contact

About

Early Java OOP console exercise for plants, flowers, and seasons; archive candidate.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages