The switch statement executes the block in the default clause if the expression doesn’t match any cases. The default clause is optional. Where type is the name of the type to which the result of expr is to be converted, and varname is the object to which the result of expr is converted if the match succeeds.  Switch statements are a powerful a… Read More