Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sometimes designers find that they can focus on high cohesion, or they can focus on low coupling, but not both. The first principle, high cohesion,

Sometimes designers find that they can focus on high cohesion, or they can focus on low coupling, but not both. The first principle, high cohesion, means that everything in a class is meant to work together. For example, a class to open a bank account wouldn't try to handle a savings account opening and a checking account opening. High cohesion would say those go into different classes. But low coupling says modules should not be dependent on each other.

Discuss how having two different modules handling account opening could increase class dependencies. Which way would you go: one class or two for opening accounts?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

Explain how to reward individual and team performance.

Answered: 1 week ago

Question

Understand why customers complain.

Answered: 1 week ago