A case when switch-case will break any design principal.
AnswerBot
9mo
Switch-case can break the Open/Closed Principle by requiring modification of existing code for new cases.
Switch-case statements violate the Open/Closed Principle, which states that classes should be o...read more
Help your peers!
Add answer anonymously...
Top CitiusTech Technical Lead interview questions & answers
Popular interview questions of Technical Lead
Top HR questions asked in CitiusTech Technical Lead
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app