Siddharth Phatarphod·FollowDec 24, 2022--ShareSwitch case statement is not preferred in some cases in OOP as it breaks the Open Closed Principle of the SOLID Principles.