3 ms·good case for replace switch with polymorphismby zwetan 7y agogood case for replace switch with polymorphism