Edit View History Bookmarks People Window Help ure https:llsjsuinstructure.com/c
ID: 3841918 • Letter: E
Question
Edit View History Bookmarks People Window Help ure https:llsjsuinstructure.com/courses/1233754/quizzes/1197998/take Mail M Gmail Google Docs lin LinkedIn eBay canvas I Soundcloud a YouTube ia SC converter Mailbox Message Queue which the relationship shown in the above uML class dagmam D Question 85 Which is true of design pattems? o There are three main design patterns defned for uava. o Design patterns are conceptual reusable solutions. o Design patterns are libraries you can all from your oode. Design pattems are shortcuts to write code, 0 You can only use each design pattern once per application. Design pattems are chunks of code you can copy into your application unchangedExplanation / Answer
1)Answer:composition
Explanation:
We should be more specific and use the composition link in cases where in addition to the part-of relationship between ClassA and ClassB - there’s a strong lifecycle dependency between the two, meaning that when ClassA is deleted then ClassB is also deleted as a result
The composition link shows that a class (container, whole) has exclusive ownership over other class/s (parts), meaning that the container object and its parts constitute a parent-child/s relationship.
Unlike association and aggregation, when using the composition relationship, the composed class cannot appear as a return type or parameter type of the composite class. Thus, changes to the composed class cannot propagate to the rest of the system. Consequently, usage of composition limits complexity growth as the system grows.
85)Answer:b.design patterns are conceptual reusable solutions
Explanation:
In software engineering, a software design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. It is a description or template for how to solve a problem that can be used in many different situations. Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.