The principle of _______ in Object-Oriented Programming suggests that a class should have only one reason to change.

  • DRY
  • KISS
  • SOLID
  • YAGNI
The principle of SOLID in Object-Oriented Programming, specifically the Single Responsibility Principle (SRP), suggests that a class should have only one reason to change. This promotes maintainability and a clear design.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *