SOFTWARE ENGINEERING

SOFTWARE DESIGN

OBJECT ORIENTED DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
To organize elements into reusable groups with information hiding, use one of the UML constructs?
A
Package
B
Class
C
Classes and interfaces
D
Subsystem or Component
Explanation: 

Detailed explanation-1: -In UML models, subsystems are a type of stereotyped component that represent independent, behavioral units in a system. Subsystems are used in class, component, and use-case diagrams to represent large-scale components in the system that you are modeling. You can model an entire system as a hierarchy of subsystems.

Detailed explanation-2: -A package is a grouping construct that allows you to take any construct in the UML and group its elements together into higher-level units. Its most common use is to group classes.

Detailed explanation-3: -A package is a namespace that is used to group together elements that are semantically related and might change together. It is a general purpose mechanism to organize elements into groups to provide better structure for system model.

There is 1 question to complete.