Online Shopping System

Class Item

having the following private attributes: (ID, name, quantity, price) and the following public methods:

  • Constructors (default, parameterized, and copy)
  • Setters & Getters

Class Seller

having the following private attributes: (name, email, items,maxItems), where items is an array list of objects of type Item. The class has the following public methods:

  • Constructors (default, parameterized, and copy)
  • Add An Item.
  • Sell An Item.
  • Print Items.
  • Find an Item by ID