Recfatoring Switch with Ploymorphism
Hi Experts,
While reading I have come across that we can refactor Switch statement with OOP Paradigm Ploymorphism. I got some links but quite confusing.
Can you explain them with a simple example.
Any help appreciated.