Question: The most important refactoring in object-oriented design is Replacing conditional with polymorphism. Explain what you understand by this concept. (b) Describe three situations we have

The most important refactoring in object-oriented design is "Replacing conditional with polymorphism." 


Explain what you understand by this concept. (b) Describe three situations we have encountered in this course where we have applied this concept

Step by Step Solution

3.41 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Replacing Conditional with Polymorphism is a fundamental refactoring technique in objectoriented design that involves replacing complex conditional st... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!