Suppose you are developing an ecommerce system for an online Super shop. There are many kinds of shops out there like Stationary shops, Grocery shops, Super shop etc. Super shop is one kind of shop where various kinds of products are found. In this system you need to store three main product categories which are Food (Rice, Biscuits, Drinks etc.), Fashion (Clothes, shoe, hat etc.) and Beauty (Make up, facewash, soap etc.). You also need to store the employee information in the system. There are several types of employees in this shop; they are manager, salesperson, accountant, staff and security guard. Now you have to create an inheritance relationship tree considering any set of classes (at least 6 classes) from the given scenario. You don’t need to bring-in all the classes mentioned in this scenario. In addition, you might introduce new classes if necessary. Draw a class diagram of inheritance relationship. (No code is needed)
Computer Science
Suppose you are developing an ecommerce system for an online Super shop. There are many kinds of shops out there like Stationary shops, Grocery shops, Super shop etc. Super shop is one kind of shop where various kinds of products are found. In this system you need to store three main product categories which are Food (Rice, Biscuits, Drinks etc.), Fashion (Clothes, shoe, hat etc.) and Beauty (Make up, facewash, soap etc.). You also need to store the employee information in the system. There are several types of employees in this shop; they are manager, salesperson, accountant, staff and security guard. Now you have to create an inheritance relationship tree considering any set of classes (at least 6 classes) from the given scenario. You don’t need to bring-in all the classes mentioned in this scenario. In addition, you might introduce new classes if necessary.
Draw a class diagram of inheritance relationship. (No code is needed)
Step by step
Solved in 2 steps with 1 images