Skip to content

erbloss/ObjectOrientedProg_Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjectOrientedProg_Demo

A demonstration of basic Object‑Oriented Programming (OOP) concepts via handling user input and shapes.


Overview

This project showcases how to use OOP to model shapes, process user‑input, and manage behavior associated with those shapes. It is meant as a learning/demo tool to:

  • Define shape classes with properties and methods
  • Use abstraction, encapsulation, inheritance, and polymorphism
  • Allow users to interact (via input) and see results/behaviors of the shapes

Features

  • Several shape classes (e.g. Circle, Rectangle, etc.)
  • Ability to calculate area, perimeter, and possibly other metrics depending on shape
  • Polymorphic behavior: same method name behaving differently across shape types
  • Input validation for user‑provided values
  • Possibly a menu or prompt interface for users to choose shape type and operations

Screenshots

  • Refer to /images folder for screenshots
  • UML diagram included

Getting Started

Prerequisites

  • Java (version X or higher)

Installation

  1. Clone the repository:
    git clone https://github.com/erbloss/ObjectOrientedProg_Demo.git

About

Program handling user input and shapes as a demonstration of OOP knowledge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages