Does this code violate the OCP principle? Why? If it is violated, rewrite the code in a
Fantastic news! We've Found the answer you've been seeking!
Question:
Does this code violate the OCP principle? Why?
If it is violated, rewrite the code in a way to comply with the OCP Principle.
Related Book For
An Introduction to Management Science Quantitative Approach to Decision Making
ISBN: 978-1337406529
15th edition
Authors: David R. Anderson, Dennis J. Sweeney, Thomas A. Williams, Jeffrey D. Camm, James J. Cochran
Posted Date: