3
Answers

Recfatoring Switch with Ploymorphism

Shankar M

Shankar M

11y
1k
1
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.
Answers (3)