

This diagram represents inheritance among use cases. For example, here anything can be inherited from place order use case to pay through pay and pay through credit card. Variables, functional and all kinds of data etc, that is set as protected, can be accessed from parent to child use case. Pay through credit card is a child use case.Place an order is the parent use case and pay through PayPal and pay through a credit card are child use cases.

The user can pay the bill by credit card or through Paypal. You need to develop a web-based application with the following functionalities Users can buy products online by placing the online order. But when a user adds friend then it must that user should first search the friend( included).Įxample 2: Case Study 2 of Use Case Diagrams When a user searches a friend, then there is an option that the user adds a friend or not (extend). When the user gets a login, now there is a choice for the user, that the user can search a friend or not (extend).
