Skip to main content
InterviewHubPRO
Section Overview
Q26

Question 26 of 50

Part 3: Enterprise Architecture, Package Design & Enforcement (25 - 35)

52%
SOLID & OOP Principles (50 Qs)•Part 3: Enterprise Architecture, Package Design & Enforcement (25 - 35)

Explain the Common Closure Principle (CCP) and Common Reuse Principle (CRP)?

senior LevelMost AskedClosures & ScopeSystem Design

In Simple Words:

  • CCP: Classes that change together should be packaged together in the same module.
  • CRP: Classes that are not used together should not be packaged together.