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 classesCustomer.purchaseProduct()
Your selection
Select a product above.
£0.00
Daniel · 12 LE11 3TU Loughborough
Admin.addProduct() / viewAllProducts()
Add to the shared inventory
New products appear in the customer view and barcode search.
Welcome Daniel! 1. View All Products 2. Search For A Product By Barcode 3. Exit Shop
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.
