No, it is not vital that you have a default case in a switch statement. Although, if no case in your switch is satisfied, the default case can be useful. So, if you're unsure about the outcome, it's advised that you mention a default case.
BY Best Interview Question ON 12 Sep 2020