Selected work / 07Software Development · Java

Computer Accessories Shop

An object-oriented inventory application, built in Java and demonstrated through an interactive inventory, customer and admin experience.

The project

Language
Java
Focus
Inheritance · Encapsulation · Polymorphism
Interface
Console application

A small shop.
A structured system.

A Java console application models a computer accessories shop. Products share a base class, with keyboards and mice represented by specialised classes. A Shop object stores inventory and supports barcode searches.

The supplied application lets a customer view all products, search for an item and exit the shop. Supporting classes model users, administrators, addresses, receipts and payment methods.

Explore the shop

From the submitted Java classes
Computer Accessories

The object-oriented shop

Welcome Daniel. Explore the four products from Main.java.

Customer.purchaseProduct()

Your selection

Select a product above.

£0.00

Daniel · 12 LE11 3TU Loughborough

Demonstration only. No payment is processed or saved.
Product → Keyboard / Mouse · User → Customer / Admin · PaymentMethod → Receipt

Interactive browser adaptation of my Java project. The console follows Main.java; the customer and admin views expose functions from my supporting classes. This presentation uses JavaScript and does not run Java or process payments. Reset restores the four original products.

Object relationships

Original class diagram
Return to the work
Artwork detail