A brief introduction to UML

Unified Modeling Language (UML) is a standardized modeling language enabling developers to specify, visualize, construct and document artifacts of a software system. Thus, UML makes these artifacts scalable, secure and robust in execution. UML is an important aspect involved in object-oriented software development. It uses graphic notation to create visual models of software systems. Some of the important components of UML are: Use Case Diagrams … Continue reading A brief introduction to UML

Aggregation & Composition in OOPs

Aggregation and composition in real project define HAS-A relationship. Aggregation differs from ordinary composition in that it does not imply ownership.  In composition, when the owning object is destroyed, so are the contained objects.  In aggregation, this is not necessarily true.  For example, a university owns various departments (e.g., Physics, chemistry), and each department has a number of professors. Now due to some reasons, if the … Continue reading Aggregation & Composition in OOPs