a) Describe a realistic scenario in which overloading may be appropriate or necessary in the development of an object oriented program. 


b) Write a code fragment that demonstrates how the open-closed principle of object oriented programming may be implemented in practice.

Leave an answer

Sorry, you do not have permission to answer to this question .