I cant digest the problem, please help me a bit.
You will develop three Java classes that interact with each other: Cashier, PriceAndStockManager and Product. Cashier objects are in charge of front-office operations, particularly purchases. These cashiers use a PriceAndStockManager object in charge of back office operations. This object provides the price of each product bought and updates the product inventories. Inside the PriceAndStockManager object, Product objects are managed and it is through these objects that prices are obtained and inventories are updated. The product objects are created when PriceAndStockManager is instantiated. A Store class will be provided that tests all these classes that you will create, although we recommend that you test the Cashier, PriceAndStockManager and Product classes visually through the BlueJ environment
Basically, the program must have multiple objects of Cashier and Product class and single object of PriceAndStockManager class.
What I dont understand is that, why do we need to create multiple objects of Cashiers and Products if we can also do the same thing in a single object.
Can you give me an example why the problem seems confusing to me?
Thanks guys, i dont ask for codes, but a little snippet will do.