adspace
What elements of oo design are most prone to abuse? How would you mitigate that?
Answer Posted / Rajnish Kumar Mahiwal
Object-oriented design can be prone to overuse of inheritance, which can lead to tight coupling and fragile class hierarchies. To mitigate this, favor composition over inheritance, implement interfaces instead of subclassing, and use dependency injection for looser coupling. Liskov substitution principle should also be followed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is your experience with qa engineering?
Would you call yourself a craftsman (craftsperson) and what does that word mean to you?
Tell me about some of your hobby projects that you've written in your off time.
Are you still writing code? Do you love it?
What software languages have you used to design, develop, and debug software application interfaces?