Question

Why is a Class Diagram not adequate to show a dynamic view of an application?

Why is a Class Diagram not adequate to show a dynamic view of an application?

Homework Answers

Answer #1

Class diagrams represent the object-oriented view of a system, which is static in nature. Active class is used in a class diagram to show the concurrency of the system. It is generally used for development or construction of the application to model the static view of an application.

Static view is used to specify the static structure of the system using objects, attributes, operations and relationships.

However dynamic view is basically the object interaction and changes to the internal state of objects during runtime.

Structural diagrams such as class diagram do not use time related concepts, so they do not show the details of dynamic behavior. Hence class diagram is not adequate to show a dynamic view of an application.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Question: Show how a dynamic view of class explains the position of “essential workers” during the...
Question: Show how a dynamic view of class explains the position of “essential workers” during the Corona pandemic.
Why people view the United States to be a middle class society?
Why people view the United States to be a middle class society?
draw a System Map diagram to show all the challenges of both the application of systems...
draw a System Map diagram to show all the challenges of both the application of systems thinking to the design of programs and the teaching of system thinking to support understanding of sustainability. The system map should include all the challenges of the system paying special attention to the grouping and the hierarchy. Reflect on your diagram in no more than 200 words
Create a UML Class Diagram of a Food Supermarket. Show inheritance of common methods
Create a UML Class Diagram of a Food Supermarket. Show inheritance of common methods
Many people consider the united states to be a middle-class society.explain why people view the united...
Many people consider the united states to be a middle-class society.explain why people view the united states in this way and is this assumption about u.s correct today?
Using NCLASS (C#): Create a class diagram for Banner, the system you use for activities such...
Using NCLASS (C#): Create a class diagram for Banner, the system you use for activities such as registering for courses. The UML diagram should include: class names, class fields/attributes, class methods, constructors, and any subclass / superclass relationships you see. (Hint: look for nouns (classes) and verbs (methods)). The following list of requirements should be used as a basis for what is included in your class diagram: Banner enables students to register for sections of courses. Banner enables students to...
Following the Fisher’s intertemporal decision framework discussed in class, show in a diagram how the optimal...
Following the Fisher’s intertemporal decision framework discussed in class, show in a diagram how the optimal consumption in the current and future period for an individual who is a net lender. Make sure you clearly label all the axes and curves and critical points on them.
A, Use an indifference curve diagram to show why winning the lottery likely changes a winner’s...
A, Use an indifference curve diagram to show why winning the lottery likely changes a winner’s work behavior. B, Use an indifference curve diagram with diminishing marginal utility to show why unemployment compensation should be less than 100% of pre-unemployment benefits.
Why is insight not an adequate explanation of problem solving?
Why is insight not an adequate explanation of problem solving?
Use ONLY the classes in this list to draw a Class diagram. The diagram must show...
Use ONLY the classes in this list to draw a Class diagram. The diagram must show all the classes, their attributes, and the relationships between the classes. All the associations must have proper multiplicity constraints indicated. Note that class methods and attribute types are not required.                                                                                                               Domain classes and their attributes Order [date/time, total price, status] Account [full name, address, phone, email] SellerAccount (no attributes) BuyerAccount [credit card] Book [title, ISBN, author, publisher, asking price] BookOnOrder [quantity] Dispute [reason]...