79596237

Date: 2025-04-28 10:25:30
Score: 2
Natty:
Report link

Problems in the Code

(Other SOLID principles are not applicable yet.)

Why is SRP Violated?

SRP says: A class should have only one reason to change.

Why is OCP Violated?

OCP says:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sudha Reddy